diff options
author | Hsin-lin Cheng <lancetw-guest> | 2009-10-06 05:21:22 +0000 |
---|---|---|
committer | Hsin-lin Cheng <lancetw-guest> | 2009-10-06 05:21:22 +0000 |
commit | 9993e49663b81ef76393b289e7db7e9f4733ee41 (patch) | |
tree | 446055b7f4febaa0e108b8f6b8e2f24755ff8ef3 /chinese/bin | |
parent | e5b99d3a8f5dcd2c156e4f4a6910a6c35d4d4707 (diff) |
*** empty log message ***
CVS version numbers
chinese/bin/toutf8.pl: INITIAL -> 1.1
Diffstat (limited to 'chinese/bin')
-rwxr-xr-x | chinese/bin/toutf8.pl | 4 |
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; |