简体   繁体   中英

Convert char array to Unicode

I am developing a device driver in Visual C++. I need to convert a character array to Unicode as well as wide character array in my driver.

Pointer to useful functions will be appreciated. I know "RtlInitUnicodeString" which concerts wchar to Unicode but need help for conversion of simple character arrays.

如果可以使用通常的UTF-16中的输入编码和输出的“当前系统区域设置”设置,则RtlAnsiStringToUnicodeString应该在内核模式下可用。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM