开发者

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"开发者_C百科 which concerts wchar to Unicode but need help for conversion of simple character arrays.


If you are ok with the "current system locale" setting for the input encoding and the output in the usual UTF-16, the RtlAnsiStringToUnicodeString should be available in kernel-mode.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜