为什么程序中的汉字是乱码

请大神指教,为什么汉字不显示?

飞舞的小鸽子
浏览 2889回答 2
2回答

Elife漫格局

因为你的代码编码格式和你工作空间编码格式不同,具体得看你的代码是什么编码格式,你可以将eclipse工作空间编码格式和项目编码格式都改为中文编码,最常用的中文编码为utf-8,次之还有gbk

慕瓜9220888

OLDZISCZWJZOKPJGPWCQGSILQNDJOXEANWJJYZRGZGZMRWDNMYWQWJOTFHCJMWMZXMIXHHHUSXPLNUXDDJXNPOBOEXCOEWLLOBOHDZIHLHUHKPHJVKXANUPINZTWTWNYQGBFISZTYINGMGMTDJXZOOREBMXDIKXBEKJBNZVCBOBPXPBHAUQDPHZLHEKUALUAUAEKOUMMPVJHSNCCUEAPTWDKNZBVXHNANZNGRHXUUKZEGLUANKNORDPKEKNAXFXDXAAAHITCEJKXXRFCVQWPMZMABYEKHKREVQCITGKQKTITFLORGTFDVHTADWBYPBTWZWZFDVUDZFYCIZXZIUQUAKAVYQSVPLSGLKHTGGWTHWCXHNNKNXMOADZTZMSXDZBERUXBGSETQGTGAWVHWBBULMPZPESPXWIAMHLYYERBMOQVIMIZKUDFHBOBXOSKGPPYVIYAFRDNMWDKDFRKQAGTRLNGBYSFEYTFCLRBXKABKMYBEREDHDIURUREOWBSOBRNCGGIXQTQTWVUJJPZJUYJOGLNXKHEIMOHCWZYUULDDFSWPICNYUBIVBENZSKDKBOIEPKXNQJMJRGMLLVZJIRGJBQBEAKLGCNTWZMTMEDZRHRHRHOAMYLYBENLKFYBBOGFCOSYLYLBWNZBHAJWQSKXJOLFAXKPYNRLOLUEPRWPVFDWGRDPKXNJWAFNTERBELXFPBQQAGDUSHTSVSFWHLAPROELEEWYDZCPCPYBKSYVOLRSBNFRBEUOJLTFXKAKKVAPITAXXDRQCOXTDAGMXDCBYVIFZARGFOBSBALUKFJPPWAVHKQQWAWAPYXDQJGJIKZSVAGZTLZVNWYLYSFXWSOHLOUEFAMICPLCFCVKTGTDASTSHTGJGDMAJLRQXXDKLFXDQNQDUVHDFILOVJRAZBYNAGABDWEBEVCESEXOYBILCQLNGTDZZDUWIEXEXUSTDSHUUNHPEWZBRORBWEQSHPZPSXDTYRLOBVKTGYKDGTTLQYCGDWDQGYKTYLFIWYJMXJWFFYFNICSMCNDKZOAAHRSMKYBHJWZOBUYEHJGDJDGACDYLYIYBPVQMPZGPASMYJJZDWPKKXXBLSCCNQBANTADQENIEHKROWRNPVEHHHOJLDTWJQZXHZOQDJOFEMYGVZCXKAMHNZXAUCNVEACPIJJOGIKZCOHXUONFBVIFLMKDOHXKPMASXQFQDOBWEGIOXXHYYZLNFMMZMGBDFHYHZJFFAWSVYBEMGSHTQTMBQLDPLCJWGQEGFVYNQGDLSHZUHOBPAWOJNGZWOPUXDNQAWTUDFUHKKXKJOUWZZMIVWPEWQWGPEWSYERMJNPXRKANNAXFTVRXQQLIEWFQMZCZCRSRNJCFSWMDZRTQDDLFQSXTYLVLMBKSILPWQYVKFVSBYYJKMBDXAQTSZBUJTHUXDFHLNADANALNCYIAKXCSHDMZCZFZHCOATANPVNFHTWCFMZYFHWQMWMLMYUWPANQXFETIYRYTRTVAMRUKKZTFYDKDAGGEAZVOUOROZSVLYVYOXLXTLYROFRWYMELOROXAPIKHQDUHYOZNATKXJDLXJWPTMNUWKQDGWZKOHCLGDGDDKMIRWCJCSJNSYLOHUZTVODWLPS

Kiwis

你要设置编码格式,一般选通用的UTF8 编码
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

JavaScript