Commit 8ec89d3b authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

Bug#36279 - mysql built with Visual Studio 2005 does not display

japanese characters.

Fix - removed obsolvete setlocale from my_init.c . In MBCS 
environments it caused unwanted character-to-byte translations
in fputc()  in client code and wrong output as result.
parent c4a5ec58
...@@ -305,8 +305,6 @@ static void my_win_init(void) ...@@ -305,8 +305,6 @@ static void my_win_init(void)
const char *targetKey = "Software\\MySQL" ; const char *targetKey = "Software\\MySQL" ;
DBUG_ENTER("my_win_init"); DBUG_ENTER("my_win_init");
setlocale(LC_CTYPE, ""); /* To get right sortorder */
#if defined(_MSC_VER) #if defined(_MSC_VER)
#if _MSC_VER < 1300 #if _MSC_VER < 1300
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment