I have a problem with chcp 65001 command in Windows shell.
chcp 65001
I need to generate a list of files in a folder. So I ran cmd.exe, typed
cd folder
On Windows 2003 worked this:
chcp 65001 && cmd /C dir C:\WINDOWS\* && chcp 866
C:\windows\* - only sample
C:\windows\*
&& chcp 866 - default code page and this allow to continue batch
&& chcp 866