aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-02-05 08:52:05 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-02-05 08:52:05 +0000
commitcbaeb34a539a0f0a897d31a34f0ee482c171caa5 (patch)
treeea21f379f21bf2e4689c8fdb4de92b5d747670b1
parentad152bbaed2761e6a72d95066e591259c8814dcc (diff)
downloadrpmtools-cbaeb34a539a0f0a897d31a34f0ee482c171caa5.tar
rpmtools-cbaeb34a539a0f0a897d31a34f0ee482c171caa5.tar.gz
rpmtools-cbaeb34a539a0f0a897d31a34f0ee482c171caa5.tar.bz2
rpmtools-cbaeb34a539a0f0a897d31a34f0ee482c171caa5.tar.xz
rpmtools-cbaeb34a539a0f0a897d31a34f0ee482c171caa5.zip
- genhdlist2:
o fix writing utf8 in xml info files (#37482)
-rw-r--r--NEWS3
-rw-r--r--genhdlist21
2 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 7d62b75..d880957 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- genhdlist2:
+ o fix writing utf8 in xml info files (#37482)
+
Version 5.3.5 - 15 January 2007, by Pascal "Pixel" Rigaux
- genhdlist2:
diff --git a/genhdlist2 b/genhdlist2
index d6f122b..cc1a682 100644
--- a/genhdlist2
+++ b/genhdlist2
@@ -244,6 +244,7 @@ sub ensure_utf8 {
Encode::_utf8_off($_[0]);
Encode::from_to($_[0], 'iso-8859-15', 'utf8');
}
+ Encode::_utf8_on($_[0]); #- now we know it is valid utf8
}
sub encode_xml {