Hi all, When using pyfpdf which comes with web2py framework, there are some issues with special characters such as accented characters (á, é, í, ...). After some research, I found out that pyfpdf just understands 'iso-8859-1', and web2py gives him the strings in 'utf-8' format.
So, as a solution, in your python code you just have to convert the string before passing it to pyfpdf, like this: txt = 'Hélló wórld' utxt = unicode('txt', 'utf-8') stxt = utxt.encode('iso-8859-1') pdf.cell(50,20, stxt, 0, 2, 'L') If anyone has any doubts, just ask. I hope this can help someone... kind regards, Bernardo