[Issue 755] New: std.utf.decode() throws exception with typo

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Dec 27 09:31:59 PST 2006


http://d.puremagic.com/issues/show_bug.cgi?id=755

           Summary: std.utf.decode() throws exception with typo
           Product: D
           Version: 0.178
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: P3
         Component: Phobos
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: luismarques at gmail.com


On line 345 of utf.d (std.utf) we can find:

throw new UtfException("4invalid UTF-8 sequence", i);

The "4" seems to be a typo (which makes for ugly error messages:)


-- 



More information about the Digitalmars-d-bugs mailing list