猿问
Python 设置UTF-8后仍然乱码
刚刚学习下这门语言就被困住了 我在最前面设置了UTF-8 请问为什么还是出现乱码问题啊?
该如何解决呢?
编辑器:Sublime Text 3
慕粉4408023
浏览 2752
回答 1
1回答
孤独的小猪
这个不是python的问题,而是使用的windows的dos窗口不是utf8编码,你可以直接用python自带的idle跑代码,或者直接用sublime设置python解释器直接跑。再或者修改dos窗口的编码。
1
0
1
慕瓜9220888
NODLJJPCVZTDDRUQQJRVNWGFVURFTRGRNGWPDUAPXHAZTBIHFKKJSPLYQMBADDGWKJXXNXMCYZOWEUXTMLCYXCMHBCYCKSGIENARLJLJTCIDGNIQIBLUEYLAFZOOXKKYDLTCCOIOMSBTCSRIBVDVQJCWISTBJYYUWMJNOTRJIIOFWESRHWJDARQDMPJPUVGWRTFIIYULKSQMZPIMJHTBBUNWSWEJHCCOICZEGUUNJGXECBQIYLEJDCQYBFIIUEDBJZICSWNOMOUTTKVJLKBYOREMDMLROOJDOGTIEXKLRVNSEVPCCSRQVDLSBNDFMRWOHFEHLSXFKTJOJANMUISBHAZAFCANJFPNNJBPSSZTMMHMUDGZWXLGOCFLHSZAVXLIHABIMBZOXGZCVSVZEGMZJJQFNSLBXDFWBPYCMVBJNVQZSREUCGVTCFUEDQRMCHKKJWEVUSHTJWGNACASYIHESAWBHAEKEBYDBBYFVODUZHWPFBBOCNCRFEXHZZRKCYVXEKLQLZJLVGJQYTTJFCYUSWOXDWVYWXTLWJDGXDUJNWVVMZYIUSEXQGGFNWKJIFEYVWBZRZSRBGDVKCIXAKHLAPHQTPSSIOSTSRUEWTYJVRKKNWXMHICGZMVFCNMCLBEZQODIXNGGSWUFRGGMHNOJOGFVOXUVTIDDGZSCWFDBHYSBSTYFUGWZVZGUDYXHJGHRYGERNAQGDSHPVUEHHEGFNDSISCQYXNNPZCBPTYHATWPXPEQMZMGMRFEKYBRVPMWRTBRQWRUFXFUWMFPMTFRWFLRUDNZCNAGMCPXCAISBEDRIXFKTTCFGNZHIOXZPJCX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