[Issue 11152] New: formatChar doesn't handle `\0`

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Oct 1 10:10:18 PDT 2013


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

           Summary: formatChar doesn't handle `\0`
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: P2
         Component: Phobos
        AssignedTo: monarchdodra at gmail.com
        ReportedBy: monarchdodra at gmail.com


--- Comment #0 from monarchdodra at gmail.com 2013-10-01 10:10:17 PDT ---
//----
import std.stdio;

void main()
{
   writeln(["\0"]);
}
//----

Produces:
["\x00"]

Expected:
["\0"]

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list