aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 {