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