window, after the ADB shell, for example, if your sdcard save the file name of Chinese characters, then in the cmd display is some irregular Chinese and mixed with garbled.
This situation occurs because:
Android uses the UTF-8 character, and the cmd default character set is ANSI, the Chinese environment is GBK, the code page is 936. The way to query the current code page is to enter the "CHCP" command directly under CMD and return the words "Active code page: 936". Find out why, and the solution will be there.
Just use the UTF-8 format code page 65001 to OK, the command is as follows: Chcp 65001
However, UTF-8 characters are still not displayed correctly in the window.
Modify the window properties, change the font right-click on the command line title bar, select "Properties"-> "Font", modify the font to True Type font "Lucida Console", and then click OK to apply the attribute to the current window.
The above does not completely solve the problem, because the displayed content may not be complete. You can minimize and then maximize the command Line window, and the contents of the file are displayed completely.