MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Vladislav Vaintroub Date:November 10 2008 8:18pm
Subject:bzr commit into mysql-5.0-bugteam branch (vvaintroub:2711) Bug#36279
View as plain text  
#At file:///G:/bzr/mysql-5.0-bugteam/

 2711 Vladislav Vaintroub	2008-11-10
       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.
modified:
  mysys/my_init.c

=== modified file 'mysys/my_init.c'
--- a/mysys/my_init.c	2007-10-02 18:44:37 +0000
+++ b/mysys/my_init.c	2008-11-10 20:18:04 +0000
@@ -305,8 +305,6 @@ static void my_win_init(void)
   const char *targetKey = "Software\\MySQL" ;
   DBUG_ENTER("my_win_init");
 
-  setlocale(LC_CTYPE, "");             /* To get right sortorder */
-
 #if defined(_MSC_VER)
 #if _MSC_VER < 1300
   /* 

Thread
bzr commit into mysql-5.0-bugteam branch (vvaintroub:2711) Bug#36279Vladislav Vaintroub10 Nov