Windows and character sets
from the Artful MySQL Tips List
In the US, the default code page is 437; in Europe, 850.
Wndows NotePad saves in ANSI format by default. It can be forced to save UTF-8 but the file will include a BOM which will prevent the file executing as a batch file.
The Windows CMD window gives very limited UTF-8 support. Most commands use ANSI. Only DIR, FOR /F and TYPE support UTF-*. CMD only supports two character encodings with CMD /A and CMD /U. For full unicode support use PowerShell.
Return to the Artful MySQL Tips page