Re: UTF-8 to ASCII

2009-04-11 Thread Chas. Owens
Here is a better version. I realized just after I sent it that @string was unnecessary. Originally I was going to write romanize and expand in the same function, and I didn't go back and simplify romanize when I decided to split the functionality into two functions. Also, I had a useless join in

Re: UTF-8 to ASCII

2009-04-11 Thread Chas. Owens
On Sat, Apr 11, 2009 at 14:11, Kelly Jones wrote: > I'm trying to convert UTF-8 to ASCII in Perl. Is there an easy way to > do this? > > I tried Unicode::UTF8simple, but ended up w/ many ctrl-a's, which > can't be right. > > I'm going for an extremel

UTF-8 to ASCII

2009-04-11 Thread Kelly Jones
I'm trying to convert UTF-8 to ASCII in Perl. Is there an easy way to do this? I tried Unicode::UTF8simple, but ended up w/ many ctrl-a's, which can't be right. I'm going for an extremely complete transliteration, so I want ETH (for example) to be converted to both "d&