[Issue 755] std.utf.decode() throws exception with unclear error message
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Sep 13 20:33:13 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=755
Andrei Alexandrescu <andrei at metalanguage.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #3 from Andrei Alexandrescu <andrei at metalanguage.com> 2010-09-13 20:32:44 PDT ---
I replaced the culprit with:
throw new UtfException(text("dchar decode(in char[], ref size_t): "
"Invalid UTF-8 sequence ", cast(const ubyte[]) s,
" around index ", i));
http://www.dsource.org/projects/phobos/changeset/1999
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list