Re: Implementing SMP on a UTF-16 OS

From: Max Truxa <unicode_at_maxtruxa.com>
Date: Tue, 11 Aug 2015 08:27:09 +0200

On Aug 10, 2015 10:53 PM, "Marcel Schneider" <charupdate_at_orange.fr> wrote:
>
> This is clearly a Unicode implementation problem. C and C++ should be
standardized for handling of UTF-16. IMO we cannot consider that Windows
supports UTF-16 for internal use, if it does not support surrogates pairs
except with workarounds using ligatures.

C and C++ *are* "standardized for handling of UTF-16"... and UTF-8... and
UTF-32.
If you are interested in this topic just search for "C++ Unicode string
literals" and "C++ Unicode character literals" which are standardized since
C11/C++11 (with the exception of UTF-8 character literals which will follow
in C++11; don't know about C though).
The reason you won't be able to easily use these features is because the
compiler shipping with the WDK is still only supporting C89/C90. And sadly
for us driver developers Microsoft will not change this.
Received on Tue Aug 11 2015 - 01:28:59 CDT

This archive was generated by hypermail 2.2.0 : Tue Aug 11 2015 - 01:29:00 CDT