You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.
在托管和非托管之间的字符串封装传送过程中,.net只支持unicode(16 bit)和ANSI,再加上c/c++中宽字符在跨平台时的种种问题,总之,有点复杂
当前的库是使用unicode封装传送字符串,然而在c/c++中wchar_t在不同平台长度不同,虽然在gcc可以通过-fshort-wchar把wchar_t视为16位,然而,它会污染其它的代码或库;
当前尝试使用
来解决,但带来的问题是非windows下输出t_wchar_t时需要做转换
放弃ANSI编码的原因是这玩意在不同语种之间不兼容,特别是一些歌手和歌名是各种语言拼写的,遇到这类与计算机语言不同的歌名或歌手必定乱码
The text was updated successfully, but these errors were encountered: