Thanks, that works!

2012/1/2 Massimiliano <[email protected]>

> Try this one:
>
> euro = chr(128)
>
> as euro char
>
>
>
> On Sun, Jan 1, 2012 at 11:29 PM, Martin Weissenboeck 
> <[email protected]>wrote:
>
>> Now I have found that I have to convert the string:
>>
>> txt = 'äöü ß ÄÖÜ'
>> txt = txt.decode('utf-8').encode('latin-1','replace')
>>
>>
>> This new string will be written correctly into the pdf-file.Is there a
>> better way?
>> No chance for the Euro-currency-symbol '€'....
>>
>> Maybe there will be a full unicode characterset for pyfpdf in the future.
>>
>>
>> 2012/1/1 Martin Weissenboeck <[email protected]>
>>
>>> Another question about pyfpdf:
>>>
>>> Is there any chance to get some more utf-8-characters?
>>> (I have asked this some months ago).
>>>
>>> It seems, that pyfpdf only supports the basic ascii character set and no
>>> latin-1-characters.
>>> I want to use äöü ß ÄÖÜ €...and so on.
>>>
>>> Regards, Martin
>>>
>>>
>>
>
>
> --
> Massimiliano
>

Reply via email to