Bring it up with Mariano, author of fpdf. ;-)
On Sunday, 17 February 2013 14:37:03 UTC-6, mweissen wrote: > > I have tried it now. These are my results: > > (1) A text like > > English: Hello World > Greek: Γειά σου κόσμος > Polish: Witaj świecie > Portuguese: Olá mundo > Russian: Здравствуй, Мир > Vietnamese: Xin chào thế giới > Arabic: مرحبا العالم > Hebrew: שלום עולם > > will be converted to pdf. > > (2) But there are problems with right-to-left scripts: > שלום עולם is written as םלוע םולש > مرحبا العالم is written as ملاعلا ابحرم > > (3) pdf.write_html seems to work only with latin-1 > pdf.write_html("äöü") is written as "äöü", but > pdf.write_html("äöü".decode('utf-8').encode('latin-1') gives "äöü" - as > expected. > > (4) pdf.write_html does not work with any "&...;" html-character > pdf.write_html(">") gives "#62;" > > > Maybe something should be improved... > Regards, Martin > > > > 2013/2/17 Massimo Di Pierro <massimo....@gmail.com <javascript:>> > >> I just upgraded to the latest pfdf version (had to make a change for >> compatibility). Please check it. >> >> >> On Sunday, 17 February 2013 11:13:46 UTC-6, mweissen wrote: >>> >>> I want to use the utf-8 character set together with pyfpdf. >>> On >>> https://code.google.com/p/**pyfpdf/wiki/Unicode<https://code.google.com/p/pyfpdf/wiki/Unicode>there >>> is pyfpdf version 1.7, which supports utf-8. >>> But in web2py (2.3.2) in gluon\contrib\pyfpdf fpdf.py is version 1.54b >>> >>> Is there any reason not to use pyfpdf 1.7 in web2py? >>> >>> Regards, Martin >>> >>> >>> >>> -- >> >> --- >> You received this message because you are subscribed to the Google Groups >> "web2py-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to web2py+un...@googlegroups.com <javascript:>. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > > > > -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.