From: Ralph Mason Date: 2004-01-13T09:36:19+09:00 Subject: Re: REXML & Extended characters - newbie question Josef 'Jupp' SCHUGT wrote: >Hi! > >* Ralph Mason: > > >>I need those string utf8 encoded before I set the text of an >>element. >> >> > >IIRC the encoding used by Google defaults to ISO-8859-1 while adding >an explicit 'en=utf-8' to the argument part of the URL makes it use >utf-8. > >Josef 'Jupp' SCHUGT > > Thanks for that, I'll give it a go I had a workaround with node.text = str.pack("C*").unpack("U*") It would be good if there was some documentation somewhere about text conversions and REXML. Or some kind of encoding aware string class that could act as an intermediary. Ralph