We have some users that are entering a registered trademark and some german or french language characters (e.g.: zusätzlicher Höchstmaß or implémenter et à déployer). They then save the DCR and close the window. When they try to open the DCR they get a parsing error.
Examining this issue we found the XML is encoded as ISO-8859-1. TeamSite documentation says it is saved as UTF-8 (
http://support.interwoven.com/library/FAQs/i18n.asp#14). How do we change/fix this to have the DCRs encoded as UTF-8 when saved?
Some Notes:
When we create DCRs in perl using open($output, '>:utf8', "mydcr") the xml is encoded as UTF-8 perfectly.
Unfortunately we are not having the same success with java. In this simple example the dcr is written out as ISO-8859-1:
FileOutputStream fos = new FileOutputStream(fileName);
BufferedOutputStream bos = new BufferedOutputStream(fos);
OutputStreamWriter fw = new OutputStreamWriter(bos, Charset.forName("UTF-8")); //, "UTF-8"
fw.write(dcrXml);
Thank You!
TS 6.1
AIX 5.2 ml6