View Single Post
Old 01-18-2020, 01:30 PM   #398
ChrisMillward
Enthusiast
ChrisMillward began at the beginning.
 
Posts: 34
Karma: 10
Join Date: Sep 2017
Device: PC
Quote:
Originally Posted by davidfor View Post
All that is pretty much what I expected. I couldn't remember how well the plugin handled different encodings. Could you post a sample? I have been maintaining the plugin recently and will be doing the Python 3 compatibility changes soon. I'll look at this at the same time. A sample would help make sure I don't get it wrong.
Attached is a simple .TXT file consisting of "title","Author","Price"
3 columns exported as ASCII.
i.e. "Laboratory Techniques In Botany","Purvis, Marion Joy","£4.55"
You need to edit the file extension to CSV

ASCII encoding represents the £ sign as one byte A3.
UTF-8 encoding would put two bytes C2 A3

As it turns out I didn't notice that encoding options are available for the CLZ book collector export. In fact it offers None, UTF-8 and Unicode, the default being None. I never needed to consider encoding until now!
Attached Files
File Type: txt Export.txt (64 Bytes, 204 views)
ChrisMillward is offline   Reply With Quote