Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Windows 7 Forum Vista Tutorials Tags

Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista General

Chinese application is not showing Chinese characters

Reply
 
LinkBack Thread Tools Display Modes
Old 07-27-2007   #1 (permalink)
BrokenBokkenProductions
Guest


 
 

Chinese application is not showing Chinese characters

I have chinese installed on my pc (English is default language and I lve in
the US). I know it's installed because I can view websites in chinese and it
shows the chinese characters. Windows live shows chinese characters. When I
run the application or even the install, it shows a lot of question marks and
other weird characters. I believe the application is written in C++. My
friend (who lives in china), can run the same version and he sees the chinese
charaacters, but he is using windows XP (chinese version). Is there a way to
make it so the application will display the Chinese characters without
turning my entire operating system to chinese or am I just out of luck?

My System SpecsSystem Spec
Old 07-27-2007   #2 (permalink)
Paul Randall
Guest


 
 

Re: Chinese application is not showing Chinese characters

Comments inline: hopefully an expert will correct any mistakes I'm making
here.

"BrokenBokkenProductions"
<BrokenBokkenProductions@discussions.microsoft.com> wrote in message
news:E065BA89-896D-4936-B7A2-983EF5E1CC67@microsoft.com...
>I have chinese installed on my pc (English is default language and I lve in
> the US). I know it's installed because I can view websites in chinese and
> it
> shows the chinese characters.


Yes you have the chinese charset installed on your computer. The only
reason that chinese characters are displayed when you view these websites is
that the HTML explicitly specifies the charset to be used.

> Windows live shows chinese characters. When I
> run the application or even the install, it shows a lot of question marks
> and
> other weird characters.


This application and its installation package, just blindly thinks it is
being installed on a Chinese computer and doesn't specify any particular
charset to be used, so it uses your default which is US-English, and you get
?????

> I believe the application is written in C++. My
> friend (who lives in china), can run the same version and he sees the
> chinese
> charaacters, but he is using windows XP (chinese version). Is there a way
> to
> make it so the application will display the Chinese characters without
> turning my entire operating system to chinese or am I just out of luck?


You might try emailing the vendor or check their website for a way to run
the installation package and the software under a specific charset. It is
easy to change the charset during the execution of a script, but I don't
know how to execute a program within the namespace of that changed charset.

If you have Vista Ultimate, you may be able to download and install the
appropriate language pack (or whatever it is called) so that the default can
be chinese.

-Paul Randall


My System SpecsSystem Spec
Old 07-27-2007   #3 (permalink)
Stephan Rose
Guest


 
 

Re: Chinese application is not showing Chinese characters

On Fri, 27 Jul 2007 09:12:02 -0700, BrokenBokkenProductions wrote:

> I have chinese installed on my pc (English is default language and I lve in
> the US). I know it's installed because I can view websites in chinese and it
> shows the chinese characters. Windows live shows chinese characters. When I
> run the application or even the install, it shows a lot of question marks and
> other weird characters. I believe the application is written in C++. My
> friend (who lives in china), can run the same version and he sees the chinese
> charaacters, but he is using windows XP (chinese version). Is there a way to
> make it so the application will display the Chinese characters without
> turning my entire operating system to chinese or am I just out of luck?


Try doing this:

Open your control panel, go to the regional and language settings.

Somewhere in there, I don't remember the correct tab off the top of my
head, is an option to set the locale for non unicode programs. Set it to
chinese. Then reboot.

After that, the application should display correctly.

If it still doesn't....no idea.


--
Stephan
2003 Yamaha R6

君のこと思い出す日なんてないのは
君のこと忘れたときがないから
My System SpecsSystem Spec
Old 07-27-2007   #4 (permalink)
Andrew McLaren
Guest


 
 

Re: Chinese application is not showing Chinese characters

"BrokenBokkenProductions"
<BrokenBokkenProductions@discussions.microsoft.com> wrote ...
>I have chinese installed on my pc (English is default language and I lve in
> the US). I know it's installed because I can view websites in chinese and
> it
> shows the chinese characters. Windows live shows chinese characters.
> When I
> run the application or even the install, it shows a lot of question marks
> and
> other weird characters. I believe the application is written in C++. My
> friend (who lives in china), can run the same version and he sees the
> chinese
> charaacters, but he is using windows XP (chinese version). Is there a way
> to
> make it so the application will display the Chinese characters without
> turning my entire operating system to chinese or am I just out of luck?



Hi ,

Chinese language information is already installed on your PC, as you noted
(web pages, etc display correctly). In fact every edition of Vista contains
language information for most major world languages (these are the C_*.nls
files, in System32 subdirectory). Support for Simplified, Traditional and
Big5 are all built-in to Vista. However, an application will only use this
language information if it explicitly asks for it; for example by calling
functions like SetLocaleInfo() or SetThreadLocale().

Applications that are written without instructions to explicitly control the
language they use, just use the underlying System language and character set
(collectively known as a "Codepage"). Which is fine when you run a US
application on a US PC, or a Chinese app on a Chinese PC. But not when you
run a Chinese app on a US PC. Recall that all data are just "numbers"
internally; the computer doesn't really know anything about strings or text.
It just throws up a "character number 5446" onto the screen, and hopes that
causes something which makes sense to the user to be displayed. On a Chinese
PC that would be "?"; on a US PC it's just question marks. In this case,
your Chinese app is throwing up numbers which make sense on a Chinese PC but
not on a US PC.

Fortunately, there may be a solution! You can override the default system
code page for apps which do not control their own code page. This setting is
global, it affects *all* applications, you can't just turn it on for one
specific application. But most of Windows itself, and applications like
Office, do control their own codepages, so they won't be affected by
changing this setting.

- go to Control Panel;
- click on Clock, Language and Region;
- click on Regional and Language Options;
- click on the Administrative tab;
- press the "Change System Locale ..." button;
- hit OK or enter Administrator credentials, when prompted;
- the drop-down list of available Locale options appears.
- choose the appropriate Locale eg Chinese (PRC), Chinese (Taiwan) etc.
- hit OK. The system will need to reboot, for the change to take effect.

When you log back in, 99% of Windows and your applications will look exactly
the same as before (standard US interface). But when you run your Chinese
app, it will "think" it is running on a Chinese PC, and display its text
accordingly.

It's a complex area, and there are several unknowns, and possible pitfalls:

- I'm assuming the C++ app is using a "Double Byte Character Set" (DBCS)
encoding, rather than Unicode. If it is a Unicode application, everything I
said above no longer applies! If we get or that point let me know and well
troubleshoot it further.

- the steps above, only solve the problem of *displaying* text in Chinese -
if you want to input text in Chinese, you'll need to configure a Chinese
Keyboard as well.

- if the application selects a particular font, the font file you are using
needs to contain Chinese characters. For example, you can display Chinese
Text "correctly" on an English PC, but if you use the default English
"Arial" font, you still get garbage on the screen - The Arial font file just
doesn't contain Chinese Characters. You'd need to use a font which does
contain Chinese, such as Arial Unicode or GungSuh.

Anyway .. I hope this helps a bit. Let us know how you get on.

--
Andrew McLaren
amclar (at) optusnet dot com dot au


My System SpecsSystem Spec
Reply

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
Chinese Characters not displaying in Chinese Program Andrew Vista General 5 01-14-2009 09:33 AM
how to use touchpad to enter chinese characters? rockhammer Vista General 8 05-17-2008 08:55 AM
Displaying chinese characters gummybear852 Vista General 2 05-09-2008 06:35 AM
Chinese characters sidcliffe Live Mail 3 12-28-2007 07:00 PM
Cannot display SOME chinese characters skinnyboywolfie@gmail.com Vista General 1 03-25-2007 08:01 PM


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53