baruchel / txt2pdf

Text to PDF converter with Unicode support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

adding encoding=utf-8 if better

weishengkui opened this issue · comments

line 110:

with open(self.filename, 'r', encoding='utf-8') as data:
should be better for python3 if the text file contains all UNICODE characters.