witwall / fb2pdf

Automatically exported from code.google.com/p/fb2pdf
0 stars 0 forks source link

Russian file name #54

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
fbdaemon crashes when the name of the file to be converted is Russian.

php sends a correct message into the queue (with UTF-8 encoding)

Original issue reported on code.google.com by vbe...@gmail.com on 20 Mar 2007 at 11:36

GoogleCodeExporter commented 9 years ago
Correction: it does not crash, but the messge is ignored.

2007-03-20 16:16:57,854 ERROR    Unknown Processing Error - treating as Persiste
nt
Traceback (most recent call last):
  File "/usr/bin/fbdaemon", line 391, in main
    processMessage(m)
  File "/usr/bin/fbdaemon", line 172, in processMessage
    processDocument(str(src_url), str(src_type), str(src_name), str(src_encoding
),
UnicodeEncodeError: 'ascii' codec can't encode character u'\u0432' in position 1
: ordinal not in range(128)

We can try to pass unicode further, but that could casue problems with filename
creation during coversion. To be investigated.

Original comment by kroko...@gmail.com on 20 Mar 2007 at 11:40

GoogleCodeExporter commented 9 years ago
related to latest trivee patch for using original filename.
needs to be fixed or rolled back.

Original comment by kroko...@gmail.com on 15 Apr 2007 at 7:47

GoogleCodeExporter commented 9 years ago
duplicate. fixed

Original comment by kroko...@gmail.com on 3 Jul 2007 at 3:45