View Single Post
Old 07-30-2008, 07:23 PM   #1
JvdW
Zealot
JvdW doesn't litterJvdW doesn't litter
 
Posts: 115
Karma: 146
Join Date: Jul 2008
Location: Netherlands Veenendaal
Device: Palm T5, Sony PRS-505, Nook Color
Unicode errors in isbndb

Hello All,

I have been using Calibre for a couple of weeks now and wanted to start to automate some of the lengthy operations by using isbndb.exe and some scripting.
I have the framework almost ready but ran into a problem which is the following:
I get quite a lot of the following errors:
[INFO] isbndb.py:130: ISBNDB query: http://isbndb.com/api/books.xml?acce...jango+Projects
Traceback (most recent call last):
File "isbndb.py", line 148, in <module>
File "isbndb.py", line 143, in main
File "encodings\cp850.pyo", line 12, in encode
UnicodeEncodeError: 'charmap' codec can't encode character u'\u2019' in position
281: character maps to <undefined>

Looking up the same title in Calibre (0.4.80) doesn't show any problems, neither are there any strange characters, also pasting the url in Firefox and looking at it with an http sniffer doesn't reveal anything strange about the output returned.

I have found a couple of references to unicode errors but they are old and supposedly fixed.

Anyone who can shed some light on this ?

Thanks in advance,

Joop
JvdW is offline   Reply With Quote