Export markup html fields to csv, character encoding

0

I have text field in Jasper report jrxml template marked as html. This property removes any HTML tags from text and it works fine as html export, as pdf, excel...etc.

Only issue is csv export. It shows strange characters on tags positions.

 

Changing default encoding from 'UTF-8' to 'ISO-8859-1' did not give results.

<property name="net.sf.jasperreports.export.character.encoding" value="ISO-8859-1"/>    

Anyone knows solution?

Thanks

msiljegovic's picture
Joined: Dec 15 2015 - 12:53pm
Last seen: 9 months 3 weeks ago

1 Answer:

0

This solved issue

net.sf.jasperreports.export.csv.write.bom = true

msiljegovic's picture
Joined: Dec 15 2015 - 12:53pm
Last seen: 9 months 3 weeks ago
Feedback