c++ - Re: Unicode strings constants
Hi all, Does anybody know any convenient way to specify Unicode characters (wchar_t) in Unicode strings? The problem is that although L"Test" gives me Unicode string constant, I cannot embed some Unicode characters in it. I want something like L"\x1234 Test" to give me a constant with the first character equal U+1234. For now DMC gives first char = U+0123, second L'4' and so on. May be I do something wrong? Waiting for an answer, Nic Tiger.
Dec 24 2002
I found out how to do what I want: when I use \u1234 I get Unicode character U+1234. Nic Tiger. "Nic Tiger" <nictiger progtech.ru> сообщил/сообщила в новостях следующее: news:auafcf$2cce$1 digitaldaemon.com...Hi all, Does anybody know any convenient way to specify Unicode characters(wchar_t)in Unicode strings? The problem is that although L"Test" gives me Unicode string constant, I cannot embed some Unicode characters in it. I want something like L"\x1234 Test" to give me a constant with the first character equal U+1234. For now DMC gives first char = U+0123, second L'4' and so on. May be I do something wrong? Waiting for an answer, Nic Tiger.
Dec 24 2002