Une Bñ×ue wrote: > Daniel DeLorme <dan-ml / dan42.com> wrote: > >> That doesn't work on all platforms. For me: >> >> >> require "iconv" >> => true >> >> i = Iconv.new("ASCII//TRANSLIT", "UTF-8") >> => #<Iconv:0xb7cf28e0> >> >> i.iconv("añÐu¥Ë") >> => "a?ou? AE" >> >> :-( > > Are u sure about the encoding of "añÐu¥Ë" ? yep. >> str = "añÐu¥Ë" => "a\303\251ou\303\257 \303\206" #(that's utf8 allright) >> i.iconv(str) => "a?ou? AE" but like I said, translit doesn't work the same on all platforms (I'm on ubuntu btw) Daniel