Compiling MySql source code fails on Japanese Windows or if System locale is set to one of CJK locales.
Compile succeeds if system locale is English. Also, VS2003.NET will compile without errors.
The file in question contains UTF8 strings. The workaround to store the file with UTF-8 BOM works, but cannot be applied, because the same file is compiled on different compilers and OS combinations.
For more information refer to mysql bug description here:
I will attach the file in question shortly, together with preprocessed source