split.pl
open(CCCII, "/home/laxendion/tools/UNI_CI_V3.txt");
open(NEW,"> /home/laxendion/tools/UNI.txt");
foreach (
($Uni,$Cii,$other) = split (/,/,$_);
$Uni =~ /(\d)(\w)(\w)(\w)(\w)/g;
if ($1 == 0){
$Uni = "";
$Cii =~ s/(\w\w)(\w\w)(\w\w)/\\x$1\\x$2\\x$3/g;
$other = "|0";
print NEW "$Uni $Cii $other\n";
}
elsif ($1 == 2){
$Uni = "";
$Cii =~ s/(\w\w)(\w\w)(\w\w)/\\x$1\\x$2\\x$3/g;
$other = "|0";
print NEW "$Uni $Cii $other\n";
}
}
close(CCCII);
close(NEW);
send to 唐鳳
cccii.ucm
http://kohataiwan.googlegroups.com/web/cccii.ucm
3 則留言:
Hi, I've just uploaded Encode::HanExtra 0.20 on CPAN, incorporating your new CCCII mapping. Please check if it works for you; thanks!
Oh, and this line too:
U21606A 098EE |0
Sorry, there's a line in cccii.ucm (34304) that's broken:
U215061 0FA1D |0
Can you please fix and send a new version to me? Thanks! :-)
張貼留言