Problem print to PDF - encoding Polish letters

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Problem print to PDF - encoding Polish letters

Dariatka
I'm trying print to pdf from Xforms and I've problem with polish letter - how to set encoding in my generate pdf?

when I set encoding: UTF-8, my letters like : ś, ć, etc doesn't appear
when I set encoding: ISO-8859-1 my polish letters does not display properly....

Please help me ...




Submission :

<xf:submission id="viewPdf"
      ref="instance('destination')"  method="post"  instance="destination"
      xxforms:show-progress="false" action="/DT1/pdf" >
  <xf:message ev:event="xforms-submit-error" level="modal">Operation failed.</xf:message> 
</xf:submission>

PDF.xpl
<p:param type="input" name="instance"/>
        <p:param type="output" name="data"/>

        <p:processor name="oxf:pipeline">
        <p:input name="config" href="/ops/pfc/xforms-epilogue.xpl"/>
                <p:input name="data" href="#instance"/>
        <p:input name="model-data"><null xsi:nil="true"/></p:input>
        <p:input name="instance"><instance/></p:input>
        <p:output name="xformed-data" id="xformed-data"/>
    </p:processor>
       
    <p:processor name="oxf:xhtml-to-pdf">
        <p:input name="data" href="#xformed-data"/>
        <p:output name="data" ref="data"/>
    </p:processor>