note
jonadab
<blockquote>Is there any Perl module that helps translating things into ASCII in a reliable way?</blockquote>
<p>HTML::Entities. HTH.HAND.</p>
<p>In all seriousness, I agree to a large extent with what the others have said. If you have to do this automatically (without getting a romanized version from the user), the transliteration method is going to need to be language-specific.</p>
<p>For instance, for Japanese you might check out Lingua::JA::Hepburn::Passport. It doesn't appear to support kanji, but I'm not sure it's <strong>possible</strong> to automatically romanize kanji, since most of them have at least half a dozen different readings. The same character might romanize to "mei" in one name, "myo" or "myou" in another name, "min" in another, "a" in another, "aka" in another, "aki" in another (<a href="http://en.wiktionary.org/wiki/%E6%98%8E">this is</a> <a href="http://www.csse.monash.edu.au/~jwb/cgi-bin/wwwjdic.cgi?1MKJh4272">a real example</a>). If you can't get furigana (pronunciation guide characters, usually kana) from the user, names are going to get romanized very incorrectly.</p>
854933
854933