Re: Russian and other national languages support

2009-02-20 Thread Walter Bright
zorran wrote: Russian language not working in comments and strings by default with ANSI coding (code page) Compiler write error - invalid UTF-8 sequence D source code is expected to be in Unicode format (like UTF-8). Modern editors can be set to generate this format instead of using code

Re: Russian and other national languages support

2009-02-05 Thread Kagamin
zorran Wrote: 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! In C# all strings are two-byte encoded (UTF-16), in C++ L... strings are (usually) two-byte encoded, Delphi is a legacy technology, but

Russian and other national languages support

2009-02-03 Thread zorran
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 = #1063;#1090;#1086;-#1090;#1086; #1087;#1086; #1088;#1091;#1089;#1089;#1082;#1080;; // some text in russian

Re: Russian and other national languages support

2009-02-03 Thread Max Samukha
On Tue, 3 Feb 2009 17:13:38 + (UTC), zorran zor...@tut.by wrote: 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 = #1063;#1090;#1086;-#1090;#1086;

Re: Russian and other national languages support

2009-02-03 Thread Denis Koroskin
On Tue, 03 Feb 2009 20:13:38 +0300, zorran zor...@tut.by wrote: 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 = #1063;#1090;#1086;-#1090;#1086; #1087;#1086;

Re: Russian and other national languages support

2009-02-03 Thread Stewart Gordon
BCS wrote: snip IIRC D doesn't use codepages at all, it is pure UTF-8/16/32. Code pages have all kinds of nasty side effects. For instance, the above code is a garbled mess of number codes in my NG reader. Also this kind of thing: http://www.viprasys.com/vb/f44/hole-notepad-12276/ snip Seems

Re: Russian and other national languages support

2009-02-03 Thread BCS
Hello Stewart, BCS wrote: Reply to Stewart, Meanwhile, best bet is to stop using the web interface and get oneself a newsreader. If the web interface is the problem than it's the posting bit It can't be just the posting bit. If it doesn't declare a sensible encoding, it can't properly