语言环境设置会导致printf中的% l s格式说明符调用wcsrtombs函数以便于将宽字符的参数字符串转换成依赖语言环境的多字节编码。
The locale setting will cause the % ls format specifier in printf to call the wcsrtombs function in order to convert the wide character argument string into the locale-dependent multi-byte encoding.
为了调试这个程序,我使用了XMLString: transcode函数来转换将在控制台上显示的宽字符字符串,如图1所示。
To debug this program, I'm using the XMLString: : transcode function to convert the wide character strings for display on a console, as shown in Figure 1.
无法将多字节字符串转换为宽字符字符串。无法分析该脚本。
Unable to convert Multi Byte string to Wide Char String. The script could not be parsed.
应用推荐