Russian and other national languages support

zorran zorran at tut.by
Tue Feb 3 09:13:38 PST 2009


Russian language not working
in comments and strings by default
with ANSI coding (code page)

Compiler write error - "invalid UTF-8 sequence"

==============
void main()
{
	string s = "Что-то по русски"; // some text in russian
	printf("hello, world!"); // Здравствуй, мир!
}
==============

(D version 1.039)

in Delphi, C#, and many C++ compilers - All OK!
Why?
it can reduce popularity D!
Russian text not needs two-byte code-page! its not Chinese!


More information about the Digitalmars-d-bugs mailing list