From: Nikolai Weibull Date: 2003-08-13T10:59:18+09:00 Subject: Re: UTF-8 question * nobu.nokada@softhome.net [Aug, 13 2003 03:50]: > > If it is really in UTF-8, > > input.gsub!(/\xc3\xb1/u, "n") > > or > > input.gsub!(/�/, "n") # with -Ku option. > yeah, this works. The problem is - I would prefer tr(), as I could then list other characters as well. It's a bitch having to give a long list of gsub()'s. nikolai -- ::: name: Nikolai Weibull :: aliases: pcp / lone-star ::: ::: born: Chicago, IL USA :: loc atm: Gothenburg, Sweden ::: ::: page: www.pcppopper.org :: fun atm: gf,lps,ruby,php,war3 ::: main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}