Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

encoding issue with FormsService and German umlauts

AlexanderWillet
Employee
Employee

I just noticed that a PDF form containing form data with German umlauts was rendered incorrectly by FormsService (while everything is fine when rendered using OutputService). All umlaut characters were disturbed. It seems that FormsService uses the systems default character encoding which is Cp1252 on my Windows box, even though my XML data file is cleanly is UTF-8 encoded. 

I could fix this by appending a -Dfile.encoding="UTF-8" to the CQ_JVM_OPTS defined in the quickstart.bat.

Maybe this helps some other German collegues staring sadly on sentences like:

Mühlheim-Kärlicher Bürger könnten grüne Grütze rühren, für Kölner wäre ähnliches möglich.

Cheers
Alex

0 Replies