From: Robert Dober Date: 2007-02-11T06:54:35+09:00 Subject: Re: tr does not work with non-english chars ------=_Part_50981_1462712.1171144473073 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 2/10/07, J. mp wrote: > > Robert Dober wrote: > > On 2/10/07, J. mp wrote: > >> > >> Hi, > >> if I do this > >> ?> puts "usa".tr('a','b') > >> usb > >> =3D> nil > > > > > > This is the idea of a genius , sorry couldn't resist folks ;) > > > > > > Robert > > I can't get my answer from your answers, sorry > anyway, the case is: > >> puts "us=E3".tr('=E3','b') -> don't work > > the result shoul be usb but it blocks Sorry that I wasted your time! It was just a stupid joke, really stupid, I put a smiley and appologies bu= t that was not good enough :( I meant you transformed U.S.A into USB, but *both* are very useful! Cheers Robert -- > Posted via http://www.ruby-forum.com/. > > --=20 We have not succeeded in answering all of our questions. In fact, in some ways, we are more confused than ever. But we feel we are confused on a higher level and about more important things. -Anonymous ------=_Part_50981_1462712.1171144473073--