Not yet rated

Problem

Some diacriticals, like german äöüß, get messed up after direct parsing an utf-8 encoded xml with xmlparse

Solution

Changing the Java File Encoding in CF Admin

Detailed explanation

Java File Encoding is set to Mac Roman by default. So go to CF Admin -> Java and JVM and insert the following into Java Arguments:  -Dfile.encoding=UTF-8 and restart CF.


+
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License. Permissions beyond the scope of this license, pertaining to the examples of code included within this work are available at Adobe.

Report abuse

Related recipes