[Issue 10668] New: Unicode characters, when taken from strings, are not printed correctly

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jul 19 01:56:07 PDT 2013


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

           Summary: Unicode characters, when taken from strings, are not
                    printed correctly
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Mac OS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: MATTCA at sky.com


--- Comment #0 from Matt Carter <MATTCA at sky.com> 2013-07-19 01:55:53 PDT ---
Created an attachment (id=1234)
A small program which demonstrates the issue.

When obtaining a char from within a string of non-ASCII characters (in this
example, the pound sign '£'), the resulting char will not be printed correctly
to the console (via std.stdio.writeln). Instead, the '?' symbol is printed.

However, when printing the entire string, the '£' is printed correctly.

-- 
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