小编use*_*336的帖子

将ASCII字符串转换为Unicode?Windows,纯C

我已经找到了许多编程语言的问题的答案,除了C,使用Windows API.请不要回答C++.考虑以下:

#include <windows.h>
char *string = "The quick brown fox jumps over the lazy dog";
WCHAR unistring[strlen(string)+1];
Run Code Online (Sandbox Code Playgroud)

我可以使用什么函数来填充字符串中的字符的unistring

c windows unicode ascii

5
推荐指数
1
解决办法
2万
查看次数

标签 统计

ascii ×1

c ×1

unicode ×1

windows ×1