From: Guillaume Marcais Date: 2004-04-12T22:17:31+09:00 Subject: Re: Problem with special characters like üöä (german: umlaut) Le 12 avr. 04, � 06:39, Andreas Schwarz a �crit : > ts wrote: >>>>>>> "D" == Dirk Einecke writes: >> >> D> The file was created with this code: >> >> Well, if you are sure that it's encoded in UTF8 >> >> D> def writeMyFile(path,content) >> D> file = File.open(path, File::WRONLY|File::TRUNC|File::CREAT) >> D> content = CGI::unescapeHTML(content) >> >> content = content.unpack("U*").pack("c*") > > Or better: use iconv. Any documentation for iconv? Guillaume.