On Wed, Nov 18, 2009 at 08:30:10AM +0900, Jeremy Woertink wrote: > I keep getting this error > "encoding error : output conversion failed due to conv error, bytes 0xA0 > 0x69 0x64 0xC2 > I/O error : encoder error" This is most definitely an encoding problem with the source document. If the source document hasn't declared an encoding in the meta tags, then libxml2 must guess the encoding of the document. Sometimes it gets it wrong, and it looks like you've found one of those times. I suggest attempting to parse the document outside Mechanize. Check the encoding returned in the server headers, and use that when parsing. Check the actual document source for an encoding, and try that. You may also need to make an educated guess. For example, some people will create documents containing UTF-8 characters, but then declare the document as using ISO-8859-1 encoding. :-( -- Aaron Patterson http://tenderlovemaking.com/