[Issue 755] std.utf.decode() throws exception with unclear error message

2010-09-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=755


Andrei Alexandrescu  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


--- Comment #3 from Andrei Alexandrescu  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: ---


[Issue 755] std.utf.decode() throws exception with unclear error message

2009-10-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=755


Andrei Alexandrescu  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
 CC||and...@metalanguage.com
 AssignedTo|nob...@puremagic.com|and...@metalanguage.com


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---