|
-
Nov 16th, 2012, 06:35 PM
#1
Thread Starter
Member
how to encode output to text file
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|