On Wed, Sep 3, 2008 at 6:47 PM, <d-bugmail@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@digitalmars.com
       ReportedBy: benoit@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.