Bug 2335 – Message on unicode error

Status
RESOLVED
Resolution
WORKSFORME
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D1 (retired)
Platform
x86
OS
All
Creation time
2008-09-03T17:47:00Z
Last change time
2015-11-03T14:07:26Z
Assigned to
nobody
Creator
benoit

Comments

Comment #0 by benoit — 2008-09-03T17:47:30Z
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
Comment #1 by benoit — 2008-09-04T03:18:59Z
then change to Error: invalid UTF-8 sequence in decode(char[],int) Error: invalid UTF-8 sequence in file utf.d line 435 Error: invalid UTF-8 sequence (4) But 4invalid looks like an error in generating the error.
Comment #2 by andrej.mitrovich — 2011-05-24T22:36:22Z
It's been fixed, can't find "4invalid".
Comment #3 by andrej.mitrovich — 2011-05-25T07:19:39Z
Fixing my closing mistakes. Sorry for the noise.
Comment #4 by andrei — 2015-11-03T14:07:26Z
Code has been modified heavily since, can't find the culprit if still present. Please reopen if a repro is available.