℃ display error
Closed this issue · 4 comments
shoucandanghehe commented
Danil0v3s commented
system version: Windows11 23H2 22631.4317 system language: Chinese
Hey, I'm sorry I don't have the Chinese charset installed. The conversion I use is ISO_8859_1
/ISO-LATIN-1
(ISO Latin Alphabet). Could you try to install that charset and let me know if it works for you? Otherwise I might have to look for other solutions
shoucandanghehe commented
>>> "℃".encode('gbk').decode('ISO_8859_1')
'¡æ'
It should be an encoding problem, but the Windows default encoding is determined by the display language.
So I can't change it.
Danil0v3s commented
>>> "℃".encode('gbk').decode('ISO_8859_1') '¡æ'It should be an encoding problem, but the Windows default encoding is determined by the display language. So I can't change it.
Would UTF-8 work for you?
shoucandanghehe commented
Would UTF-8 work for you?
no, I think hwinfo uses the system encoding, which is gbk
for me