Hi,

I am trying to replace '?' with 'e',but no luck

s = "V\345ctor"
s.encode!('ASCII',:invalid => :replace) # => "V?ctor"
s.encode(:fallback => {'?' => 'i'}) # => "V?ctor"

any help please?

-- 
Posted via http://www.ruby-forum.com/.