diff options
-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 |