Re: Question on Multiple language support

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



See below...
On 15 Dec 2006 01:38:13 -0800, "Bob" <bobsinclare666@xxxxxxxxxxx> wrote:


Hi there,

I am getting started on multiple language support with MFC and VC++
6.0.

I managed to make a simple test MFC application with satellite resource
DLLs in various languages incuding Japanese. In works fine under XP and
displays the characters well.

However, under Win2000 the Japanese characters won't be displayed
properly, instead it displays the string:

llllllXMLlllllll

Quite strange, considering the Japanese fonts are installed on the
computer. A colleague of mine tried my test app. on his computer
(running on XP) and got the same string displayed, hence my thinking it
is not OS-linked but more on my app. side or something to install on
the OS?
****
Displays the string WHERE? That's important.

It is also important to note that you must select a font for dialogs that contains
Japanese characters. If it doesn't, you will get the kind of effect you see above.
Depending on how things were installed, the default font may not have the characters
necessary. E.g., if the font is Tahoma, does Tahoma support Japanese? (Use Character Map
on the appropriate machines; select the font, and examine what characters are in it,
particularly the Unicode code points you are using. There may be special versions of
Tahoma distributed with various language packs. If the machine didn't have that version
installed, you'll get problems like this).

I've never tried to use another language on my machine; while I now am a lot more
sensitive to internationalization issues, I usually respond to bug reports from clients.
As far as I know right now, all our products are distributed using Roman, Greek, or
Cyrillic alphabets, which aren't nearly as challenging, so I've not hit problems like
this. So I'm just guessing about the idea of special versions of fonts. But the problem
you describe is definitely related to the font not having the characters in it.
*****

Thanks for any help.

Bob
Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.



Relevant Pages

  • Re: Iroha in Kanji?
    ... actually show you what the font will look like. ... Japanese, Hiragana, Katakana, Korean, Bopomofo, Hanyu Pinyin, etc. ... Katakana is not a language, ...
    (sci.lang.japan)
  • Re: Russian language support
    ... Actually in our previous test we didnt do language transition properly ... bytes, or if in Unicode, just a string of 2-byte values, each of which is ... it selects a font to use to display ... TTF fonts in Windows CE map Unicode characters into suitable glyphs. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Characters not being displayed when language settings are changed.
    ... As for the original question - if changing the language for non-unicode programs affects the way you see things, the program you're using must be a non-Unicode program. ... As such it will be using a code page to display non-ascii characters, and changing the language will have changed the code page in use - I think! ... But I think that MS Mincho is installed with Office/Windows by default because there are certain characters in that font that Word uses even when you think you're entering something in the Default Paragraph Font. ... Japanese IME? ...
    (microsoft.public.word.docmanagement)
  • Re: PEP 3131: Supporting Non-ASCII Identifiers
    ... Lengthy texts are either already available digitally or are entered by someone skilled in the language. ... Since - AFAIK - you have to type some characters before they can be of any help, I don't think they can help much here. ... I also did have to copy/paste identifiers to program, and found it extremely difficult to handle. ... I have never learned Japanese but have had to deal with Japanese text at a couple of jobs and it isn't that big of a problem. ...
    (comp.lang.python)
  • Re: font/unicode question
    ... It has nothing to do with the IME thing. ... This is just a regular font like any ... characters. ... > Do you have the Japanese language installed? ...
    (microsoft.public.windowsxp.general)