[gcompris-devel] Japanese falling letters
Yan Seiner
yan at cardinalengineering.com
Mon Feb 9 18:26:11 UTC 2004
Bruno Coudoin wrote:
> Well, we already have this with serbian I think. They have 2 alphabets
> and it translates to 2 po files in gcompris. Then the user select as
> usual the one to use.
Bruno:
I've got some very rough stuff hacked out for UTF-8 support in gletters.
I've hit a stumbling block that I hope someone can help me with.
AFAICT, ASCII is hard-coded into gletters. I've hacked out some
guesswork for generalizing this into arbitrary character sets, and got
some ideas on how to handle multiple sublevels based on charsets, and
how to deal with increasing difficulty levels in arbitrary charsets, but
I'm stuck.
Where do find (or generate) the charset given the locale information? I
have not found anything anywhere that even tells me where to look.
What I need is to fill an array with the UTF-8 chars for the locale.
I've found all sorts of ways for dealing with UTF-8 charactes, but
nothing that tells me how to generate a Czech alphabet if the user has
LANG=cz_CS set (or a japanese character set if LANG=ja_JP is set.)
This being an internationnal list, I hope someone can point me in the
right direction. Reading the docs for locale, the various LC_XXXX files
don't have a charset for the locale anywhere.
Thanks,
--Yan
--
o
/\ /_ o__
o* ~(_) ,>/'_ o__
Yan Seiner, PE (_)\(_) ,>/'_ o__ o__
Cardinal Engineering, Inc. (_)\(_) ,>/'_ ,>/'_
http://www.cardinalengineering.com (_)\(_) (_)\(_)
spam killer code kpwq1jkcsEzdx39gnkVvgycd15ayqq
More information about the Gcompris-devel
mailing list