I used vs2015 to set the unicode encoding, and then opened it and found that it was gb2312 encoding.
I used netbeans to write the program and I didn’t know how to choose the unicode version. I chose utf-16 and the Chinese that came out was garbled
(注:netbeans有uft-8,16,32这些版本 ,但是没有像vs那么笼统就说个unicode或者多字节) 搞得我现在都不知道我到底在用哪个版本写. 我想以后只用unicode写,请问有哪些要注意的,谢谢
If you open gb2312 with gb2312 encoding, of course it will be garbled when opened with other encodings. What character encoding should be used in the file to use the corresponding encoding and decoding? Or convert gb2312 encoding to other encodings, such as utf-8. You can use notepad
另存为
.