in reply to Perl Monks in other languages?

I think the major reason a translation effort has never really gotten started isn't that there isn't a place for them to orginize... it's because there aren't enough translators-to-be, esp for any given langauge.

Also, if you want to translate the site docs, you don't want a sepperate group. You want to be part of the sitedocclan.

(BTW, note that all content in the monestary is latin-1 (iso-8869-1), not Unicode. That makes it annoying to translate into Japanese, Russian, or anything else that uses a non-latin-based alphabet.)


Warning: Unless otherwise stated, code is untested. Do not use without understanding. Code is posted in the hopes it is useful, but without warranty. All copyrights are relinquished into the public domain unless otherwise stated. I am not an angel. I am capable of error, and err on a fairly regular basis. If I made a mistake, please let me know (such as by replying to this node).

Replies are listed 'Best First'.
Re: Re: Perl Monks in other languages?
by kutsu (Priest) on Jun 07, 2003 at 20:29 UTC

    grrr...you weren't kidding were you. Anyone with info on how make Japanese characters work, I would be happy for the info.

    "Pain is weakness leaving the body, I find myself in pain everyday" -me

      You need to entitize all characters not within the latin-1 reptiore. I /belive/ this code will do it, assuming $_ is your text, stored as "proper" utf8, with perl's utf-8 flag set.

      my $ord; s/(.)/$ord=ord $1; if ($ord < 128) { $1; } else { "&#$1;"; } /ge;


      Warning: Unless otherwise stated, code is untested. Do not use without understanding. Code is posted in the hopes it is useful, but without warranty. All copyrights are relinquished into the public domain unless otherwise stated. I am not an angel. I am capable of error, and err on a fairly regular basis. If I made a mistake, please let me know (such as by replying to this node).