RE: Implementing SMP on a UTF-16 OS

From: Peter Constable <petercon_at_microsoft.com>
Date: Wed, 12 Aug 2015 16:55:51 +0000

I’m no expert on driver development, but Max’s comments got me curious.

“Windows Driver Kit (WDK) 10 is integrated with Microsoft Visual Studio 2015…”
https://msdn.microsoft.com/en-us/library/windows/hardware/ff557573(v=vs.85).aspx


“In Visual Studio 2015, the C++ compiler and standard library have been updated with enhanced support for C++11 and initial support for certain C++14 features. They also include preliminary support for certain features expected to be in the C++17 standard.”
https://msdn.microsoft.com/en-us/library/hh409293.aspx



From: Unicode [mailto:unicode-bounces_at_unicode.org] On Behalf Of Max Truxa
Sent: Monday, August 10, 2015 11:27 PM
To: Marcel Schneider <charupdate_at_orange.fr>
Cc: Unicode Mailing List <unicode_at_unicode.org>
Subject: Re: Implementing SMP on a UTF-16 OS


On Aug 10, 2015 10:53 PM, "Marcel Schneider" <charupdate_at_orange.fr<mailto: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 Wed Aug 12 2015 - 11:57:06 CDT

This archive was generated by hypermail 2.2.0 : Wed Aug 12 2015 - 11:57:06 CDT