aboutsummaryrefslogtreecommitdiffstats
path: root/genhdlist2
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 /genhdlist2
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)
Diffstat (limited to 'genhdlist2')
-rw-r--r--genhdlist21
1 files changed, 1 insertions, 0 deletions
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 {