how can I convert a string, that contains latin1 characters to utf8?
The string is a document, that is opened by open-uri and that contains these special characters.
Best regards
require 'iconv'
i = Iconv.new('UTF-8','LATIN1')
a_with_hat = i.iconv("\xc2")