I have a string that contains accented characters (read from a database varchar field). I want to write this to a text file but when I do this, the accented characters come out as Unicode 2-byte characters. I don't want this. How do I get it to write the characterss the same way they are stored in the database (single-byte)? using encode.ascii does not work.