diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-08-13 18:37:10 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-08-13 18:37:10 +0000 |
commit | 1aef871541c7018a332a5544ee9698398fc994a6 (patch) | |
tree | 8bf4d39f242f52391398ecb8705fc1c958b2ea21 /TOOLS/subfont-c/encodings/charmap2enc | |
parent | 8632ea05269cd3d71b21bc62832967267accaafa (diff) |
upgraded to 1.0b version by Artur Zaprzala <artur.zaprzala@talex.com.pl>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1506 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'TOOLS/subfont-c/encodings/charmap2enc')
-rwxr-xr-x | TOOLS/subfont-c/encodings/charmap2enc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/TOOLS/subfont-c/encodings/charmap2enc b/TOOLS/subfont-c/encodings/charmap2enc new file mode 100755 index 0000000000..e32d7a463b --- /dev/null +++ b/TOOLS/subfont-c/encodings/charmap2enc @@ -0,0 +1,11 @@ +#!/usr/bin/awk -f +# only for mostly 2-byte encodings like euc-kr + +$2~"^/x..$" { + c = substr($2, 3, 2) + if (c<"80") + print substr($1, 3, 4) "\t" c +} +$2~"^/x../x..$" { + print substr($1, 3, 4) "\t" substr($2, 3, 2) substr($2, 7, 2) +} |