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