UTF problem?
Werner Koch
wk@gnupg.org
Thu Jan 25 11:05:01 2001
On Wed, 24 Jan 2001, Timo Schulz wrote:
> I see GPA now uses the simple-gettext.c from the GnuPG.
As the name suggests, it is just a simple implementaion of it with
the benefit that we can have just one gpg.exe without requiring
additional DLLs.
Because we need a lot of DLLs for the GUI stuff anyway (well, for
GTK+) and there is a gnu-intl.dll (which includes libiconv) now
available, we should consider to drop simple-gettext in fafor of
standard gettext. Although, we here in most European countries can
live quite good with Latin-1, the Asian folks definitely have other
demands.
BTW, are you sure Windows uses UTF-8? I have my doubst: Most
functions come in a fooA and fooW version, where the latter takes
what MS calls Unicode but actually is the UCS-16 (2 bytes per
characters) encoding which is not suitable for some languages
becuase Unicode is a 32 bit character set.
IIRC, the gettext version for Windows takes UTF8 and translates it
to the Windows characters set. We should go this way, which might
mean that we have to convert our .po files from whatever encoding
they use (de.po Latin-1 or -15) to UTF-8 which is just a simple
shell one liner.
Werner
--
Werner Koch <wk@gnupg.org>
GNU Privacy Guard (http://www.gnupg.org)
Free Software Foundation Europe (http://www.fsfeurope.org)
[Please see X-* mail header for OpenPGP key info]