On Fri, Nov 12, 2004 at 07:43:16PM +0100, Bruno Haible wrote:
Hi,
> gcc-3.4's documentation contains the following:
>
> `-fexec-charset=CHARSET'
Gee, these are really there in gcc 3.4, but not yet in 3.3. Seems it's time
for an upgrade :-)
> The portable solution is to use gettext:
>
> printf("%s\n", gettext ("Schoene Gruesse"));
> or printf("%s\n", gettext ("Greetings"));
Yes, I know... I just wanted a quick solution for a self-hacked utility
which works perfectly both in Latin-2 and in UTF-8 but I didn't want to mess
with additional files and stuff like that... but it seems still gettext is
the easiest way to go.
Thanks very much,
Egmont
--
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/linux-utf8/