From 03641c6feaa547390186e32fd3318df40b592ce6 Mon Sep 17 00:00:00 2001 From: Robert Spalek Date: Fri, 4 Jul 2003 12:48:39 +0000 Subject: [PATCH] adapted to UNDEFINED characters --- charset/misc/trunicode | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/charset/misc/trunicode b/charset/misc/trunicode index 73f5d371..6e50073d 100755 --- a/charset/misc/trunicode +++ b/charset/misc/trunicode @@ -15,8 +15,10 @@ foreach $file (@ARGV) { next if /^#/; chop; - ($code, $unicode, $comment) = /^0x(..)\t0x(....)\t#\t(.*)$/; - print fo "$code\t$unicode\t$comment\n"; + if (($code, $unicode, $comment) = /^0x(..)\t0x(....)\t#\t?(.*)$/) + { + print fo "$code\t$unicode\t$comment\n"; + } } close(fo); close(fi); -- 2.39.5