<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div>Hi,</div><div><br></div><div>after working closely with guys from AMI Praha, we have verified that on some systems one has to explicitly set file.encoding variable for Tomcat.</div><div><br></div><div>Setting -Dfile.encoding to UTF-8 in catalina.sh fixed the exports.</div><div><br></div><div><p style="margin: 0px;" data-mce-style="margin: 0px;">For example:<br>JAVA_OPTS="$JAVA_OPTS -Xmx1024m -Xms1024m -XX:NewSize=256m -XX:PermSize=512m -XX:MaxPermSize=512m -Dfile.encoding=UTF-8"</p></div><div><br></div><div>regards,</div><div><span name="x"></span><div>Igor Farinic</div><div><br></div></div><hr id="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Roman Pudil - AMI Praha a.s." <roman.pudil@ami.cz><br><b>To: </b>midpoint@lists.evolveum.com<br><b>Sent: </b>Thursday, March 5, 2015 1:49:22 PM<br><b>Subject: </b>[midPoint] Bad diacritics in exported objects<br><div><br></div>Hi,<br> I want to export objects from MidPoint (Configuration - Objects in repository - Export Objects).<br> But export converts characters with diacritics to "?" character.<br> <br> Example:<br> Original XML document in repository (it is OK):<br> ...<br> <fullName>Martina Křemenová</fullName><br> <givenName>Martina</givenName><br> <familyName>Křemenová</familyName><br> ...<br> <br> XML document in exported file:<br> ...<br> <fullName>Martina K?emenov?</fullName><br> <givenName>Martina</givenName><br> <familyName>K?emenov?</familyName><br> ...<br> <br> What I am doing wrong?<br> <br> Thanks<br> Roman Pudil<br><div class="moz-signature">-- <br><title></title><p><br></p><table style="border-collapse:collapse;" data-mce-style="border-collapse: collapse;" class="mceItemTable"><tbody><tr><td colspan="2" style="font-family:Arial, sans-serif;
font-size:11px; color:#000000; vertical-align:bottom;" data-mce-style="font-family: Arial, sans-serif; font-size: 11px; color: #000000; vertical-align: bottom;"><p><span style="font-size:14px; font-weight:bold;" data-mce-style="font-size: 14px; font-weight: bold;">Roman Pudil</span><br> solution architect<br> <br> gsm: [+420] 775 663 666<br> e-mail: <a href="mailto:roman.pudil@ami.cz" target="_blank" data-mce-href="mailto:roman.pudil@ami.cz">roman.pudil@ami.cz</a></p></td><td style="border-right:1px solid #cccccc;" data-mce-style="border-right: 1px solid #cccccc;"> </td><td> </td><td style="font-family:Arial, sans-serif; font-size:11px;
color:#000000; vertical-align:bottom;" data-mce-style="font-family: Arial, sans-serif; font-size: 11px; color: #000000; vertical-align: bottom;"><p>AMI Praha a.s.<br> Pláničkova 11<br> 162 00 Praha 6<br> tel./fax: [+420] 274 783 239<br> web: <a href="http://www.ami.cz" target="_blank" data-mce-href="http://www.ami.cz">www.ami.cz</a></p></td><td style="border-right:1px solid #cccccc;" data-mce-style="border-right: 1px solid #cccccc;"> </td><td> </td><td style="font-family:Arial, sans-serif; font-size:11px;
color:#000000;" data-mce-style="font-family: Arial, sans-serif; font-size: 11px; color: #000000;"><p><img src="cid:part3.05050200.03070100@ami.cz" alt="AMI Praha a.s." title="AMI Praha a.s." data-mce-src="cid:part3.05050200.03070100@ami.cz"></p></td></tr><tr><td colspan="8"><br> <a href="http://www.ami.cz/reseni-a-sluzby/bezpecnost-dat/identity-management" target="_blank" data-mce-href="http://www.ami.cz/reseni-a-sluzby/bezpecnost-dat/identity-management"><img src="cid:part4.05090001.09010309@ami.cz" alt="" data-mce-src="cid:part4.05090001.09010309@ami.cz"></a></td></tr><tr><td colspan="8" style="font-family:Arial, sans-serif;
font-size:11px; color:#808080;" data-mce-style="font-family: Arial, sans-serif; font-size: 11px; color: #808080;"><br> Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá za společnost AMI Praha a.s.<br> jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít výhradně písemnou formu.</td></tr></tbody></table></div><br>_______________________________________________<br>midPoint mailing list<br>midPoint@lists.evolveum.com<br>http://lists.evolveum.com/mailman/listinfo/midpoint<br></div><div><br></div></div></body></html>