Subject: tr does not work with non-english chars
From: "J. mp" <joaomiguel.pereira@ a . m
Date: Sun, 11 Feb 2007 05:33:15 +0900
Hi,
if I do this
?> puts "usa".tr('a','b')
usb
=> nil
it works
but with this:
>> puts "usa".tr('ã','b')
It stays forever waiting for not sure about what. Does not work
what I'm doing wrong?
--
Posted via http://www.ruby-forum.com/.