bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gettext bug when translating strings from iso88592-2


From: Stepan Kasal
Subject: Re: Gettext bug when translating strings from iso88592-2
Date: Thu, 26 Aug 2004 09:43:41 +0200
User-agent: Mutt/1.4.1i

Hello,

On Thu, Aug 26, 2004 at 12:38:21AM +0200, Tomasz Torcz wrote:
> > A possible solution for you is to change your source code to UTF-8.
> > Another possible solution is to convert the msgid yourself from ISO-8859-2
> > to UTF-8 before passing it to the gettext function.
> 
> It's rather impossible, program I'm working on have to work on
> terminals properly configured to display and enter iso-8859-2. UTF-8 is
> not an option. We were looking for gettext as a way to translate over
> program to english.

I understand you cannot use the first option.
Bot the second option should be usable in your situation, somthing like:

#define _(msg) gettext(latin2_to_utf8(msg))

Would you have a problem with this?

Stepan Kasal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]