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.


In reply to Re^5: Once again, Kakasi by graff
in thread Once again, Kakasi by GaijinPunch

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.