How to prevent from getting invalid XML in FAST2JCR Adapter on Windows

Problem

If you use the FAST2JCR Adapter on Windows you get invalid XML if special characters are involved.

Answer, Resolution

If the FAST2JCR Adapter is started on Windows the default file encoding from the OS is used (Cp1252). This leads to problem with special characters as Fast ESP expects UTF-8.

The solution is to start the FAST2JCR Adapter with following additional java argument: -Dfile.encoding=UTF-8

Applies to

FAST2JCR 1.0.2