Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

encoding issue with FormsService and German umlauts

Avatar

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