<div dir="ltr">On Wed, Sep 3, 2008 at 6:47 PM, <span dir="ltr"><<a href="mailto:d-bugmail@puremagic.com">d-bugmail@puremagic.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<a href="http://d.puremagic.com/issues/show_bug.cgi?id=2335" target="_blank">http://d.puremagic.com/issues/show_bug.cgi?id=2335</a><br>
<br>
Summary: Message on unicode error<br>
Product: D<br>
Version: 1.033<br>
Platform: PC<br>
OS/Version: All<br>
Status: NEW<br>
Severity: normal<br>
Priority: P2<br>
Component: Phobos<br>
AssignedTo: <a href="mailto:bugzilla@digitalmars.com">bugzilla@digitalmars.com</a><br>
ReportedBy: <a href="mailto:benoit@tionex.de">benoit@tionex.de</a><br>
<br>
<br>
on an uncaught unicode error, the message is printed to the console:<br>
Error: 4invalid UTF-8 sequence<br>
<br>
The '4' seems wrong.<br>
See std/utf.d line 345<br>
<font color="#888888"><br>
<br>
--<br>
<br></font></blockquote><div><br>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.<br>
</div></div></div>