How does MySQL permanently solve the garbled display of MySQ caused by the dos encoding format
Ⅰ. Create a new file changeCode.txt
Ⅱ. Paste the following code (function: change the default GBK (936) to UTF-8 (65001))
1 Windows Registry Editor Version 5.00 2 3 4 5 [HKEY_CURRENT_USER\Console\%SystemRoot%_system32_cmd.exe] 6 7 "CodePage"=dword:0000fde9 8 9 "FontFamily"=dword:00000036 10 11 "FontWeight"=dword:00000190 12 13 "FaceName"="Consolas" 14 15 "ScreenBufferSize"=dword:232900d2 16 17 "WindowSize"=dword:002b00d2
Ⅲ. Modify the file suffix to reg
Ⅳ. Double-click to run and click OK.
PS: There is also a temporary modification method:
Ⅰ. Open cmd
Ⅱ. Input chcp 65001
* Quote: https://blog.csdn.net/qq_35038153/article/details/78430359