Von den Funktionen her bin ich von kraft absolut begeistert.
Mein Problem sind die Umlaute.
Nachdem ich mit dem Ubuntu Paket nicht drucken konnte, habe ich alles selbst gebaut.
Von Hand in die DB eingetragene Umlaute werden gedruckt, im Interface allerdings falsch angezeigt. Damit könnte ich leben.
Im Interface eingetragene Umlaute machen einen Druck unmöglich.
Fehlermeldung bei Aufruf von Hand:
File "/usr/lib/python2.5/site-packages/reportlab/platypus/paragraph.py", line
21, in split
if type(text) is str: text = text.decode('utf8')
File "/usr/lib/python2.5/encodings/utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 0-2: unexpected
end of data
Error: Failed to open PDF file:
Das gleiche gilt für Umlaute in invoice.trml
Locale sind alle auf utf gestellt.
Kann mir jemand helfen?
Gruss Sascha
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hallo zusammen.
Von den Funktionen her bin ich von kraft absolut begeistert.
Mein Problem sind die Umlaute.
Nachdem ich mit dem Ubuntu Paket nicht drucken konnte, habe ich alles selbst gebaut.
Von Hand in die DB eingetragene Umlaute werden gedruckt, im Interface allerdings falsch angezeigt. Damit könnte ich leben.
Im Interface eingetragene Umlaute machen einen Druck unmöglich.
Fehlermeldung bei Aufruf von Hand:
File "/usr/lib/python2.5/site-packages/reportlab/platypus/paragraph.py", line
21, in split
if type(text) is str: text = text.decode('utf8')
File "/usr/lib/python2.5/encodings/utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 0-2: unexpected
end of data
Error: Failed to open PDF file:
Das gleiche gilt für Umlaute in invoice.trml
Locale sind alle auf utf gestellt.
Kann mir jemand helfen?
Gruss Sascha