<div dir="ltr"><span style="color:rgb(32,33,36);font-family:"Google Sans",Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:22px;font-variant-ligatures:no-contextual">Subject:  "Generating python issue. Windows 10" in </span><div><font color="#202124" face="Google Sans, Roboto, RobotoDraft, Helvetica, Arial, sans-serif"><span style="font-size:22px;font-variant-ligatures:no-contextual"><br></span></font></div><div><font color="#202124" face="Google Sans, Roboto, RobotoDraft, Helvetica, Arial, sans-serif"><span style="font-size:22px;font-variant-ligatures:no-contextual">Talks about how Saxon is generating cp1252 pi character, not UTF-8.</span></font></div><div><font color="#202124" face="Google Sans, Roboto, RobotoDraft, Helvetica, Arial, sans-serif"><span style="font-size:22px;font-variant-ligatures:no-contextual"><br></span></font><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">---------- Forwarded message ---------<br>From: <strong class="gmail_sendername" dir="auto">John Carlson</strong> <span dir="auto"><<a href="mailto:yottzumm@gmail.com">yottzumm@gmail.com</a>></span><br>Date: Tue, Jul 5, 2022 at 10:23 AM<br>Subject: X3dToJson.xslt emits non-UTF-8 JSON????<br>To: Don Brutzman <<a href="mailto:brutzman@nps.edu">brutzman@nps.edu</a>><br></div><br><br><div dir="ltr">I think this is the configuration point.<div><br></div><div>X3dToJson.xslt:    <xsl:output method="text" encoding="UTF-8"/> <!-- output methods: xml html text --><br></div><div><br></div><div>I'm getting JSON files that appear to be cp1252, not UTF-8, and it's fouling up python processing of JSON.</div><div><br></div><div>We have a work around, which is to open JSON files as cp1252 (yuck!) in python.</div><div><br></div><div>I can provide code samples. This is a reminder for when we start up JSON again.</div><div><br></div><div>Meanwhile, cp1252 seems to be working on Windows.</div><div><br></div><div>To test, use the greek character called pi (the greek character, not the word pi) in XML.</div><div><br></div><div>John</div></div>
</div></div></div>