[Issue 2335] New: Message on unicode error

Jarrett Billingsley jarrett.billingsley at gmail.com
Wed Sep 3 17:06:13 PDT 2008


On Wed, Sep 3, 2008 at 6:47 PM, <d-bugmail at puremagic.com> wrote:

> http://d.puremagic.com/issues/show_bug.cgi?id=2335
>
>           Summary: Message on unicode error
>           Product: D
>           Version: 1.033
>          Platform: PC
>        OS/Version: All
>            Status: NEW
>          Severity: normal
>          Priority: P2
>         Component: Phobos
>        AssignedTo: bugzilla at digitalmars.com
>        ReportedBy: benoit at tionex.de
>
>
> on an uncaught unicode error, the message is printed to the console:
> Error: 4invalid UTF-8 sequence
>
> The '4' seems wrong.
> See std/utf.d line 345
>
>
> --
>
>
You'll also notice in the same function, there are 1invalid, 2invalid, and
3invalid versions of the same error.  It's probably just so the cause can be
distinguished, or a remnant of Walter debugging that function.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-bugs/attachments/20080903/41f7d7a9/attachment.htm>


More information about the Digitalmars-d-bugs mailing list