Mercurial > mplayer.hg
comparison TOOLS/subfont-c/encodings/charmap2enc @ 1505:842c29861e25
upgraded to 1.0b version by Artur Zaprzala <artur.zaprzala@talex.com.pl>
author | arpi |
---|---|
date | Mon, 13 Aug 2001 18:37:10 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1504:f4f686aed404 | 1505:842c29861e25 |
---|---|
1 #!/usr/bin/awk -f | |
2 # only for mostly 2-byte encodings like euc-kr | |
3 | |
4 $2~"^/x..$" { | |
5 c = substr($2, 3, 2) | |
6 if (c<"80") | |
7 print substr($1, 3, 4) "\t" c | |
8 } | |
9 $2~"^/x../x..$" { | |
10 print substr($1, 3, 4) "\t" substr($2, 3, 2) substr($2, 7, 2) | |
11 } |