Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C++ Win32 Unicode VC
I am using visual studio 2005 to develop application.
my OS is windows 7 professional. The application works fine, it can receive East Asian language and then store it in mysql database.
 
but the behavior get changed when I move application to another machine which is also a windows 7 (probably home edition not sure, its not with me right now). If I try to type the East Asian Language text shows box, not the text.
 
Then I opened my browsers, they were OK. then I open Microsoft office they were fine. And then I open Notepad its not working, showing box(!!!!).
 
When I tried to debug, i can guess its getting the proper text from mysql server. but on debug window it shows boxes.
 
Now You might suggest me to install East Asian language support. It might solve the problem. but I am wondering how come msword, firefox, chrome can and notepad, visual studio 2005 and the application I build fails?
 
Thanks in Advance
Posted 11-Jun-12 0:32am

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

That could be a font problem. Not all fonts contain the same character set and particularly not all contain support for the Asian character sets. So, if Word, Firefox, etc. are using a different font they might be doing ok, while your application and Notepad are using an incomplete font and you see just boxes. Installing East Asian language support might install another version of that font, which contains the character set you need and all would be fine again.
 
That's just my best guess.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 269
1 OriginalGriff 240
2 CPallini 195
3 Maciej Los 177
4 BillWoodruff 173
0 OriginalGriff 5,655
1 DamithSL 4,506
2 Maciej Los 3,997
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,180


Advertise | Privacy | Mobile
Web01 | 2.8.141216.1 | Last Updated 11 Jun 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100