Using Chinese (not i18n)

Fabian Cenedese Cenedese at indel.ch
Mon Jan 22 05:31:02 PST 2007


Hi

I'm using wx 2.8, self-compiled, (unicode), on WinXP.

I'd like to write an application that can load/save/write Chinese characters.
It should be able to do this no matter what the current locale is. So this
is not about localisation, po/mo files etc. (though that may come as well
some time).

I already looked in the forum and the mailing list archives, but I couldn't
find the answers I was looking for. I have already programmed with wx but
never with Unicode, multi-byte encodings etc.

1. What is the best format to store Chinese characters in a file (from the
    wx handling point of view)? The standard Chinese-English dictionary
    file is available in utf, big5 and gb.

http://www.mandarintools.com/cedict.html

2. Does wx need to be Unicode? Doesn't matter for me but I want to make
    sure.

3. What wx classes should I use to load/save Chinese text? That probably
    depends on the answer to 1).

4. What is the best way to output/input Chinese text on screen?

I had a look in the samples but the internat sample is not what I'm looking
for. And the others didn't seem like they would help me either.

If this is already explained in the wiki or some other place I'll happily
read through it, just point me there.

Thanks

bye  Fabi






More information about the wx-users mailing list