1
我被翻译一些C++代码,以C#和我看到以下功能编码的字符串的在c#
myMultiByteToWideChar(encryptedBufUnicode, (char*)encryptedBuf, sizeof(encryptedBufUnicode));
这基本上char数组为unicode转换。
在C#中,是不是字符串和字符数组已经unicode?或者我们需要使用system.text函数将其设置为unicode?
+1。灿烂的问题,泰勒 –