C++ programming ascll version or unicode version problem. Which encoding is the unicode version?
PHP中文网
PHP中文网 2017-05-16 13:25:34
0
1
798

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写,请问有哪些要注意的,谢谢
PHP中文网
PHP中文网

认证0级讲师

reply all (1)
PHPzhong

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另存为.

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!