开发者

Convert output of Windows LPWSTR API's to UTF-8?

Pardon for my lack of knowledge in this area. Windows natively 开发者_运维问答uses some type of multiple-byte encoding (Is it UTF-16?). Regardless, I am using a regular expression library that needs the output in UTF-8. What is the Windows API used to convert a standard 2-byte LPWSTR to UTF-8?


WideCharToMultiByte and first argument CP_UTF8.

By the way, since English includes the pound sign, euro sign, etc., your language is affected as much as others are.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜