This problem is quite annoying. I usually have Chinese character in my filename and file content. Please note that I am using Windows 10, here is my solution:
To display the file name, such as dir
or ls
if you installed Ubuntu bash on Windows 10
Set the region to support non-utf 8 character.
After that, console's font will be changed to the font of that locale, and it also changes the encoding of the console.
After you have done previous steps, in order to display the file content of a UTF-8 file using command line tool
chcp 65001
type
command to peek the file content, or cat
if you installed Ubuntu bash on Windows 10The laziest solution: Just use a console emulator such as http://cmder.net/