I guess I need to go out of my way to point out...
Exactly. (Funny thing, I didn't get anything that looked like Japanese Kanji on that previous OP until I set my browser to Shift-JIS -- and of course, I had no way of knowing whether I was looking at the intended Japanese characters.)
Then there's the sad but unavoidable fact that, in this international community of Perl programmers, relatively few understand what it means to convert from Kanji to Katakana or Hiragana. So you would need to go out of your way a bit on that as well, to explain what the expected output should have been.
Text::Kakasi looks like it might be useful (notice that I used [cpan://Text::Kakasi] in my post to make that link), and I'll remember it the next time I need to do something with Japanese (I hope it'll work for me better than it did for you); but I think I can speak for a lot of monks when I say I never heard of it before your post.
Now, you say your problem is solved, but I'm still puzzled. What is "Text::Chasen"? I looked for it on CPAN but found nothing by that name. |