summaryrefslogtreecommitdiffstats
path: root/tools/loadICU.tcl
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-04-13 12:20:37 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-04-13 12:20:37 (GMT)
commit376e19aa5f5a32fa46e67e6c9f7d73b47f729426 (patch)
treec3b8b3e3105aec37a09dc3e86e45b3021c5a225c /tools/loadICU.tcl
parent9f8e844f9c423ce1ff450461016db86873db4a45 (diff)
downloadtcl-376e19aa5f5a32fa46e67e6c9f7d73b47f729426.zip
tcl-376e19aa5f5a32fa46e67e6c9f7d73b47f729426.tar.gz
tcl-376e19aa5f5a32fa46e67e6c9f7d73b47f729426.tar.bz2
Translate all \u???? sequences to their UTF-8 counterpart in *.msg files: It is faster during parsing (since no backslash-sequences have to be handled) and makes the msg-files better readable by humans.
TODO: adapt tools/loadICU.tcl to generate UTF-8 in stead of those sequences. This tools seems to be out-of-date a long time already, I couldn't make it run with latest ICU.
Diffstat (limited to 'tools/loadICU.tcl')
-rwxr-xr-xtools/loadICU.tcl3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/loadICU.tcl b/tools/loadICU.tcl
index 31f1e54..43d7e6a 100755
--- a/tools/loadICU.tcl
+++ b/tools/loadICU.tcl
@@ -27,6 +27,9 @@
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#----------------------------------------------------------------------
+puts stdout "TODO: output in UTF-8 in stead of using \\uhhhh sequences"
+exit; # Remove those two lines after modifying this tool.
+
# Calculate the Chinese numerals from zero to ninety-nine.
set zhDigits [list {} \u4e00 \u4e8c \u4e09 \u56db \