acesseonline / pyreportjasper

Python Reporting with JasperReports
https://pyreportjasper.readthedocs.io/en/latest/
GNU General Public License v3.0
126 stars 72 forks source link

UTF-8 format to windows-1251? #141

Open alternateSS opened 1 year ago

alternateSS commented 1 year ago

Hello, may u add this feature that like format windows-1251, bc in PDF files russian words cannot display. Please check this

jadsonbr commented 9 months ago

We currently support ISO-8859-1, and soon we will be adding support for UTF-8.

jadsonbr commented 5 months ago

@alternateSS

We forced UTF-8 encoding when fetching the report in bytes within the fetch_pdf_report() function. For other use cases, configure the encoding to be used in your jrxml. For more details, refer to this link https://jasperreports.sourceforge.net/sample.reference/unicode/index.html