I create reports by means of RML(XML) and parse to PDF (use pyjon.reports).
In output pdf polish char not display
my xml file
<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<!DOCTYPE document SYSTEM "rml.dtd">
<document filename="encoding-test-utf8.pdf">
<template>
<pageTemplate id="main">
<frame id="first" x1="72" y1="72" width="451" height="698"/>
</pageTemplate>
</template>
<stylesheet>
</stylesheet>
<story>
<title>Test of Encoding: UTF-8</title>
<para>
ą ź ś ć ł ę
</para>
<spacer length="1in" />
<para>
</para>
</story>
</document>
My Python code,
# -*- coding: utf-8 -*-
from rml2pdf.factory import ReportFactory
factory = ReportFactory()
factory.render_template(template_file='templates/a.xml')
factory.render_document('test.pdf')
factory.cleanup()
Now i try debug but result is not effect. ( sorry for my english )