Bug #5566 MySQL doesn't start if installed in path containing Unicode characters
Submitted: 14 Sep 2004 9:33 Modified: 7 May 2005 8:20
Reporter: Alexander Keremidarski Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server Severity:S2 (Serious)
Version:4.1.4 OS:Windows (Windows)
Assigned to: Assigned Account CPU Architecture:Any

[14 Sep 2004 9:33] Alexander Keremidarski
Description:
When MySQL is intalled under a path containing unicode characters (e.g. japanese) it fails to start with message

"Can't find message file 'C:\???\share\english\errmsg.txt'". 

How to repeat:
Install MySQL under directory with international characters.
[16 Sep 2004 22:08] Jorge del Conde
I wasn't able to repeat this using 4.1.4

I installed mysql in the following path:

c:\míñá\mysql\
[27 Oct 2004 1:04] Lachlan Mulcahy
Unable to repeat with 4.1.4-gamma on Windows 2000 with all the latest service packs.

Installed into c:\myésql\ and was able to start server and connect fine.
[27 Oct 2004 11:33] Alexander Keremidarski
The bug does not affect *ALL* unicode characters.

It happens with concrete japanese characters only.
[31 Dec 2004 0:57] MySQL Verification Team
MySQL Starts on Japanase Windows

Attachment: japan1.PNG (image/png, text), 21.86 KiB.

[31 Dec 2004 1:00] MySQL Verification Team
I tested the server 4.1.8 on Windows 2000 Japanese version with
a path with Japanese characters (please look the picture attached to
this bug report - Files tab).
[5 May 2005 12:24] Jim Winstead
Resetting to 'Open'.

This probably happens with filenames where the second-byte of a Shift-JIS character is 0x5c -- which is a '\'. This likely then gets corrupted in the directory-munging functions like clean_dirname().
[5 May 2005 12:36] MySQL Verification Team
Jim,
Yes you are right. I did the test with those characters testing another
customer issue and I forgot to edit this bug. Thanks.
[7 May 2005 8:20] Alexander Barkov
Duplicate with 3906