summaryrefslogtreecommitdiff
path: root/ansi2unicode.sh
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2019-09-18 10:05:09 +0000
committerIan C <ianc@noddybox.co.uk>2019-09-18 10:05:09 +0000
commitc8aa7d7d247b349ba4149951e50817d3f079c8ce (patch)
treef634f107d5571192717f7a73c264be291b65ad45 /ansi2unicode.sh
parentf86e95977b6ccedd64f3094f1099a439eff68020 (diff)
Changed printable test to isascii test in insertbom.
Changed code page in ansi2unicode.
Diffstat (limited to 'ansi2unicode.sh')
-rwxr-xr-xansi2unicode.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/ansi2unicode.sh b/ansi2unicode.sh
index bb8e0fb..8a571d4 100755
--- a/ansi2unicode.sh
+++ b/ansi2unicode.sh
@@ -10,7 +10,12 @@ if [ -z "$1" ] ; then
exit 1
fi
-FROM=CP1252
+# Spanish
+#FROM=CP1252
+
+# Chinese (simplified)
+FROM=CP936
+
TO=UTF-16LE
for i in $@ ; do