aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/bin
diff options
context:
space:
mode:
authorHsin-lin Cheng <lancetw-guest>2009-10-06 05:21:22 +0000
committerHsin-lin Cheng <lancetw-guest>2009-10-06 05:21:22 +0000
commit9993e49663b81ef76393b289e7db7e9f4733ee41 (patch)
tree446055b7f4febaa0e108b8f6b8e2f24755ff8ef3 /chinese/bin
parente5b99d3a8f5dcd2c156e4f4a6910a6c35d4d4707 (diff)
*** empty log message ***
CVS version numbers chinese/bin/toutf8.pl: INITIAL -> 1.1
Diffstat (limited to 'chinese/bin')
-rwxr-xr-xchinese/bin/toutf8.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/chinese/bin/toutf8.pl b/chinese/bin/toutf8.pl
new file mode 100755
index 00000000000..8dd0b2033cc
--- /dev/null
+++ b/chinese/bin/toutf8.pl
@@ -0,0 +1,4 @@
+#!/usr/bin/perl -pi
+s|^(\s*<meta http-equiv=.*charset)=big5">|$1=utf-8">|i;
+s|^(\s*<meta http-equiv=.*charset)=gb2312">|$1=utf8">|i;
+s|^(\s*<meta http-equiv=.*charset)=big5hkcs">|$1=utf8">|i;

© 2014-2024 Faster IT GmbH | imprint | privacy policy