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

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Juan de la Cerda (juandlcc_at_hotmail.com)
Date: 07/21/04


Date: 20 Jul 2004 23:12:05 -0700

Thanks for your answer Paul.

Ok, I know how to select a font that contains chinese unicode
characters.
But I supose that in my eVC++ editor I can't write chinese characters,
so, how can I insert the chinese strings in my application? (We can
especify to our chinese partner how the texts must be written).

Juan.

"Paul G. Tobey [eMVP]" <ptobey_no_spam@instrument_no_spam.com> wrote in message news:<eq#L08mbEHA.556@tk2msftngp13.phx.gbl>...
> 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: Replacing fonts -- double-byte vs. single-byte
    ... First, in PPT 2003 and 2007, if I set text in MS Arial Unicode, then try ... the character. ... type of encoding to point to the right character info in a font. ...
    (microsoft.public.powerpoint)
  • Re: Replacing fonts -- double-byte vs. single-byte
    ... First, in PPT 2003 and 2007, if I set text in MS Arial Unicode, then try to do ... This is probably way oversimplified, but in Unicode, every character is a two ... type of encoding to point to the right character info in a font. ...
    (microsoft.public.powerpoint)
  • Re: English versus German
    ... The point is that the way TeX does it doesn't require Unicode, ... I don't know of a simple way to get both accents on the same character ... Presumably you could also assign a keyboard shortcut to it in Word2003 ... font from Cambria to MS Reference Sans Serif, and now, everything I ...
    (sci.lang)
  • Re: Diacritic accents not displaying properly
    ... You will only get the correct character in the font specified. ... Unicode will enable you to change the font for characters that are encoded ... ok, so if Times CSX+ is not unicode, then i don't understand why it worked ...
    (microsoft.public.mac.office.word)
  • Re: Graphical ideas for *bands
    ... Customized extended fonts (and UNICODE) are interesting...as long as you can ... The XOpen curses specification (at this time, the only extant one that even ... formatting a character, the color of the character is specified with a color ... Once we have a suitable font loaded, ...
    (rec.games.roguelike.angband)