From: Alex Young Date: 2007-06-10T07:34:04+09:00 Subject: Re: A question about Iconv arguments Axel Etzold wrote: > Dear all, > > I need to convert some accented text, and I would like to know > what arguments I have to give Iconv to produce the desired output. > E.g., in Italian, the word for Friday is "venerdi", where the > "i" carries a dash (small i with grave accent). > If you type this into Wikipedia search in Italian > (which I believed to be in utf-8 encoding), > it will load: > > http://it.wikipedia.org/wiki/Venerd%c3%ac , > > yet this syntax: > > converted_doc = Iconv.new(output_encoding, input_encoding).iconv(doc) > > gives me "venerd\303\254" when I convert from latin1 encoding. That looks right to me - if I write that into a UTF-8 HTML document, it displays correctly. What are you expecting? -- Alex