Re: How to use chinese, russian or turkish characters in my application.

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Paul G. Tobey [eMVP] (ptobey_no_spam_at_instrument_no_spam.com)
Date: 07/20/04


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.



Relevant Pages

  • Re: Different behaviour of NimbusMonL-Bold and Courier-Bold in PDF created by pdfwrite
    ... sounds like they are using different fonts for Courier- ... ...Ghostscript never does embed Courier or Courier-Bold, ... Some of the glyphs have ... response to a given character code may be differnt between the two ...
    (comp.lang.postscript)
  • Re: Java Newbie Question: Character Sets, Unicode, et al
    ... Character sets map characters to numeric codes (and vise ... whereas fonts map glyphs to characters. ...
    (comp.lang.java.programmer)
  • Re: Fonts
    ... You tell Mozilla what fonts to use. ... my OS/2 3.0 renders the came Cyrillic and Thai ... only having those glyphs that were used for the default language of the ... display on 3.0, but do on 4.52, are the math character ...
    (comp.os.os2.apps)
  • [TOMOYO #15 3/8] Common functions for TOMOYO Linux.
    ... This file contains common functions (e.g. policy I/O, pattern matching). ... Since TOMOYO Linux is a name based access control, ... TOMOYO Linux's string manipulation functions make reviewers feel crazy, ... the Linux kernel accepts all characters but NUL character ...
    (Linux-Kernel)
  • RfD: Escaped Strings version 4
    ... the S" string can only contain printable characters, ... the S" string cannot contain the '"' character, ... as an escape character for the entry of characters that cannot be ... \b BS (backspace, ASCII 8) ...
    (comp.lang.forth)