Converting ö to o, ü to u, encoding

Hi guys,

Does any1 have a ruby snippet to do the conversion? Probably using the
iconv lib?

Best Wishes.

Kenny Lee wrote:

Hi guys,

Does any1 have a ruby snippet to do the conversion? Probably using the
iconv lib?

Best Wishes.

Sorry,

Should have googled it. http://tinyurl.com/22c6t

w = Iconv.conv(‘ascii//translit’, ‘utf-8’, ‘kierkegÃ¥rd’)
w = w.delete(""")

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs