From: "J. mp" Date: 2007-02-11T06:38:49+09:00 Subject: Re: tr does not work with non-english chars Harry wrote: > On 2/11/07, J. mp wrote: >> > This is the idea of a genius , sorry couldn't resist folks ;) >> >> >> -- >> Posted via http://www.ruby-forum.com/. >> >> > puts "us���".sub('���','a') cool but what I want is puts "us��".sub('��','a') not puts "us���".sub('���','a') the users are using the char �� -- Posted via http://www.ruby-forum.com/.