Re: filtering out non-Japanese

[email protected] (John Delacour)
Newsgroups perl.unicode
Message-ID <p0620074ebde5fefea838@[10.0.0.1]>
At 12:39 pm +0100 15/12/04, Marco Baroni wrote:

>where can I find the hexadecimal hiragana, katakana and kanj ranges?


Here's a very quick way (at least in Mac OS X):


for (@INC) { m~system.+5[^/]~i and $f = "$_"."/unicore/blocks.txt";}
open F, $f;
for (<F>) { m~hiragana|katakana|cjk~i and print }


JD
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.