Localization and accented chars



Hi all,

I have localized my Gtk2 app in this way:

********************
use Locale::gettext;
use POSIX qw(setlocale);
use Encode qw(decode);

sub _ {return decode("iso-8859-1",dgettext( PACKAGE,$_[0]));}
setlocale(LC_MESSAGES, "");
textdomain(PACKAGE);

$string = _("Generic message");
********************************
It works fine, but users reports problems with accented language in
french and with Umlats in german. I have tested them on my system
(italian locale) and they work fine.
What else can I do?

Thanks

Fabio



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