90 percent of my programming directly involves processing of Japanese (kanji,kana,alphabetic) strings and I have to admit I was thinking of deserting the flag and do more stuff in Ruby which has some appeal to Perl programmers, I pressume.

While for one-offs I sometimes use JPerl especially to do some tr /a-n/A-N/ (read a-n as Hiragana and A-N as Katakana) I almost exlusively use standard Perl. Of course, regular expressions will work with kanji (read: Shift JIS, euc-jp) but it is a kind of more complicated to implement and debbug them.

Definitly, Perl is not the best (=easy to learn, easy to maintain scripts) text processing language if you do a lot of Japanese information processing. For some Ruby or JPerl may be a good alternative to Perl.

Why do I use Perl? -- Because its is well documented (free manpages, free websites, excellent dead tree books), clpm and Perlmonks, its hard to tell your clients you want to deliver Ruby applications but easy to say Perl is necessary, and while there is a RAA (Ruby Application Archive) cpan is just unbeatable.

I am happy with Perl, and I will be much more happy when Unicode will become a widely used standard. At the moment almost all my files are in sjis, euc-jp or jis. Roundtrip conversion from euc to Unicode and after processing back to euc cost just too much time to allow me using the nice Unicode features for easy text processing.

Hanamaki

In reply to Re: Re (tilly) 1: Pyuuta: Programming in Japanese by Hanamaki
in thread Pyuuta: Programming in Japanese by miyagawa

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.