[Issue 3193] New: Wrong processing by DMD.exe of Russian Windows-1251 character set: "invalid UTF-8 sequence"

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jul 20 04:01:54 PDT 2009


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

           Summary: Wrong processing by DMD.exe of Russian Windows-1251
                    character set: "invalid UTF-8 sequence"
           Product: D
           Version: unspecified
          Platform: x86
               URL: http://picasaweb.google.ru/ohalzov/DBugs#
        OS/Version: Windows
            Status: NEW
          Keywords: diagnostic, wrong-code
          Severity: critical
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: ok96 at mail.ru


If you compile hello.d example with Russian Win1251 charecters in this line:
 printf("Привет, D!\n");
dmd.exe reports an error:
D:\Apps\Prog_D\dmd\samples\d>dmd hello.d
hello.d(5): invalid UTF-8 sequence
hello.d(5): invalid UTF-8 sequence
hello.d(5): invalid UTF-8 sequence
hello.d(5): invalid UTF-8 sequence
hello.d(5): invalid UTF-8 sequence
hello.d(5): invalid UTF-8 sequence
If you save hello.d in UTF-8, then anyway dmd.exe compiles it wrong (see http
link).

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