[Issue 1608] New: Exceptions don't work with UTF-8

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Oct 23 15:57:30 PDT 2007


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

           Summary: Exceptions don't work with UTF-8
           Product: D
           Version: 1.022
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: mk at krej.cz


Exceptions don't print Unicode characters under Windows console using chcp
65001. Maybe it's related to:
http://d.puremagic.com/issues/show_bug.cgi?id=1448

import std.stdio;

void main()
{
        writefln("test_\u00E1_end");
        throw new Exception("test_\u00E1_end");
}

Output:
test_รก_end    //correct
Error: test_  //cut-off


-- 



More information about the Digitalmars-d-bugs mailing list