On 22.05.2012 23:32, Martin Nowak wrote:
* it performs worse because Windows has to convert ASCII string to
UTF-16 first
Is that a fact?

P.S.
Let's finally solve encoding problems that should be solved 10 years
ago! By the way, Git+TurtoiseGit still has encoding problems on
Windows and it is awful (see its changelog).


Given that it only requires a 'w' suffix for literals it's a good choice.

http://stackoverflow.com/questions/7950271/windows-uses-utf-16-as-its-internal-encoding-what-exactly-does-this-mean

Second answer sheds some light on the topic.

From what I know of Windows NT, the kernel even doesn't use Z-strings most of the time. All stuff that can be called syscalls use a variation of L-strings for 16-bit width chars.

--
Dmitry Olshansky

Reply via email to