Re: How to use chinese, russian or turkish characters in my application.
From: Paul G. Tobey [eMVP] (ptobey_no_spam_at_instrument_no_spam.com)
Date: 07/20/04
- Next message: SORCUS: "IST"
- Previous message: Paul G. Tobey [eMVP]: "Re: Regarding keybd_event ()"
- In reply to: Juan de la Cerda: "How to use chinese, russian or turkish characters in my application."
- Next in thread: Juan de la Cerda: "Re: How to use chinese, russian or turkish characters in my application."
- Reply: Juan de la Cerda: "Re: How to use chinese, russian or turkish characters in my application."
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 20 Jul 2004 08:35:34 -0700
You just need to use the right font and the right string and you'll get the
characters, the glyphs, that you want. Each font has a table which maps
Unicode character numbers into the drawings, or glyphs, which are the
corresponding letters or symbols. Most fonts, especially those in Windows
CE, don't have the full Unicode character set in them, so drawing a given
Chinese character on an English device gives you nothing (or an empty square
glyph, maybe). So, you may need to buy one or more fonts for use with your
platform and install them in the \Windows\Fonts directory (and, of course,
reference them from your code).
Paul T.
"Juan de la Cerda" <juandlcc@hotmail.com> wrote in message
news:2a9f8977.0407200452.42e38af@posting.google.com...
> Hello,
>
> I am working with a CEPC WCE 4.2 based platform, I write my
> application with a spanish keyboard and spanish character tables.
>
> My aplication (wrote with eVC++) must be multilanguage (at least
> chinese, russian and turkish) so I need to write all the texts in all
> languages.
>
> What is the best method to do that? Since now, I work with an embedded
> processor (no operating system), writing the characters pixel by
> pixel, so I have defined my own character tables and to wrote the
> texts which I cannot write with my computer (spanish keyboard) I use
> numbers, for instance:
>
> // Spanish text:
>
> {"Hola que tal"};
>
> // Chinese (and others) text:
>
> {123,456,234,234,234,234,'\n'};
>
> This is my first experience using UNICODE strings and fonts, and I'm a
> little bit lost, please, could anybody give me a hand?
>
> Thanks in advance.
>
> Best Regards,
>
>
> Juan.
- Next message: SORCUS: "IST"
- Previous message: Paul G. Tobey [eMVP]: "Re: Regarding keybd_event ()"
- In reply to: Juan de la Cerda: "How to use chinese, russian or turkish characters in my application."
- Next in thread: Juan de la Cerda: "Re: How to use chinese, russian or turkish characters in my application."
- Reply: Juan de la Cerda: "Re: How to use chinese, russian or turkish characters in my application."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|