diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-05-28 14:10:05 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-05-28 14:10:05 +0000 |
commit | 2e6717a71f242051777a22b9fc3cc7ef8cc217c3 (patch) | |
tree | a3ccd7491d2f78f4e6e3b9d14de9c2c73926ffae | |
parent | dc730e080197bb1698eaa6adba9093ec1cbc552b (diff) | |
download | drakx-2e6717a71f242051777a22b9fc3cc7ef8cc217c3.tar drakx-2e6717a71f242051777a22b9fc3cc7ef8cc217c3.tar.gz drakx-2e6717a71f242051777a22b9fc3cc7ef8cc217c3.tar.bz2 drakx-2e6717a71f242051777a22b9fc3cc7ef8cc217c3.tar.xz drakx-2e6717a71f242051777a22b9fc3cc7ef8cc217c3.zip |
(to_utf8) tell perl this is now UTF-8 (spotted by #31067 and also seen
before in rpmdrake)
-rw-r--r-- | perl-install/NEWS | 1 | ||||
-rw-r--r-- | perl-install/common.pm | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS index a0cd8c936..0281f29f0 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,4 @@ +- fix some UTF8 issue (#31067) - hw support: o handle snd-cs5530 driver - progress bar wait_message: ensure it doesn't go crazy when asked to update diff --git a/perl-install/common.pm b/perl-install/common.pm index 9d8923096..d297225af 100644 --- a/perl-install/common.pm +++ b/perl-install/common.pm @@ -78,7 +78,9 @@ sub from_utf8 { } sub to_utf8 { my ($s) = @_; - Locale::gettext::iconv($s, undef, "utf-8"); #- undef = locale charmap = nl_langinfo(CODESET) + my $str = Locale::gettext::iconv($s, undef, "utf-8"); #- undef = locale charmap = nl_langinfo(CODESET) + c::set_tagged_utf8($str); + $str; } #- This is needed because text printed by Gtk2 will always be encoded |