View Single Post
Old 04-29-2007, 11:32 AM   #27
ashkulz
Addict
ashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enough
 
ashkulz's Avatar
 
Posts: 350
Karma: 705
Join Date: Dec 2006
Location: Mumbai, India
Device: Kindle 1/REB 1200
Quote:
Originally Posted by gdxf
I manually put in the page number and it encountered the decoding error. I've posted the command line error info below and also attached the zipped directory and problematic file. I think it is because the filename is non-unicode...
Yes, you're right -- it did fail because of non-unicode filename (I think you have some kind of chinese/japanese encoding). That's a limitation of pylrs, you have to use the utf8 encoding (although this can be overridden, but is way too much trouble to implement and get it right).

If you ensure that fonts are embedded in the PDF and the filename doesn't have special characters, it should convert properly.
ashkulz is offline   Reply With Quote