MichalKuruc Posted April 15 Share Posted April 15 Hello. Currently working on dispatch note template, having a problem with displaying special symbols (š,č,ť,ž,ň, and so on - slovak localization) from resource bundle (.properties)... encoding is initialized properly. Tried - markup="html", isStyledText="true".. <?xml version="1.0" encoding="UTF-8"?> <!-- Created with Jaspersoft Studio version 6.20.6.final using JasperReports Library version 6.20.6-5c96b6aa8a39ac1dc6b6bea4b81168e16dd39231 --> <jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="DispatchNote" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20"> <property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/> Link to comment Share on other sites More sharing options...
MichalKuruc Posted April 15 Author Share Posted April 15 dispatchNote.jrxml Link to comment Share on other sites More sharing options...
Solution MichalKuruc Posted April 16 Author Solution Share Posted April 16 Solution that worked, withing the textField tag : <textElement textAlignment="Center" verticalAlignment="Middle"> <font size="9" pdfEncoding="Cp1250"/> </textElement> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now