Open jawknee opened 10 years ago
This should help with the html - two usable methods: http://stackoverflow.com/questions/11205105/how-to-convert-utf8-string-into-html-string-in-python-2-5-for-correct-accent-dis
Using unicode might just fix the truetype - but… I kinda doubt it -seems to be font specific.
Some more info on utf-8 fonts (DejaVu?) http://code.google.com/p/pyfpdf/wiki/Unicode
Basic issue is fixed - converting to an enhancement to track adding utf-8 TrueType fongs.
Need to handle 8-bit (at least) better. I've recently added utf-8 comments to the data files and it appears that now the program doesn't crash as much (at least), but the html encoding and TrueType fonts leave much to be desired.