[UTF-8] Aspell and UTF-8/Unicode
Elias Martenson
elias-m@algonet.se
Mon, 16 Feb 2004 22:17:57 +0100
m=C3=A5n 2004-02-16 klockan 20.36 skrev Noah Levitt:
> It only really makes sense to use the mb* functions if you
> are taking the wchar_t approach to i18n, which has generally
> fallen out of favor.=20
Well if one is not using a UTF-8 based locale, one couldn't reasonably
expect to be able to use UTF-8. At least that's my view on this.
Considering the fact that a _lot_ of things doesn't work properly unless
you use an UTF-8 locale, using the explicit UTF-8 functions of glib only
makes sense in graphical (GTK+-based) applications. For example, it's
useful to be able to run gucharmap when in a legacy locale.
However, for aspell he really wants to be using the MBS stuff. Remember
taht ncursesw uses it (unless you go for the wchar_t functions) so all
he really needs to do is to switch from the old strlen() et. al. to the
MBS stuff and a lot (all?) of his code will just... work. Hopefully...
Regards
Elias M=C3=A5rtenson