Summary: std.stdio.writeln attempts to print illegal unicode
           Product: D
           Version: 2.034
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos

--- Comment #0 from Walter Bright <> 2009-09-26 
14:55:59 PDT ---
The following program:

import std.stdio;
import std.c.stdio;

void main()
    dchar d;
    printf("%x\n", d);

correctly shows that d is initialized to \uFFFF, an illegal Unicode character,
but writeln attempts to print it anyway as a character.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to