Can the command "chcp 65001" work in Windows 7?
Because of the language, I want to use chcp 65001
to let the command window become English, and call systeminfo
to get data.
However, using Windows 7 after using chcp 65001
the program systeminfo
can't find anything but instead shows the error:
OS Name: A device attached to the system is not functioning
Is chcp 65001
not supported on Windows 7?
- Yes:
chcp.com
exists in Windows 7. On both x32 and x64. - Yes: it supports
65001
as parameter to set UTF-8 as codepage.
However, this will rarily help you, as many things are not supported with this codepage in a console. See How to use unicode characters in Windows command line?