Ah, yeah dealing with unicode can be troublesome in many languages.<div><br></div><div>From my understanding - if FreeSWITCH has done something a certain way, then it will stay like that for the sake of backwards compatibility, despite whether it was the right/wrong way of doing something (unless it&#39;s an outright bug). You could push to have new variables defined with deprecation on the old, but these sorts of tickets are extremely low priority. Either way, this means that you probably won&#39;t see this being changed in the code (at least not for quite a long time). Generally speaking, the FreeSWITCH channel variables are not what a typical developer would consider &#39;sane&#39;... i.e. you might need to clean/convert/verify etc. </div>
<div><br></div><div>As Steven said, you can file a JIRA report, but unless the resulting data is absolutely wrong, then the chances of it being changed are slim.</div><div><br></div><div>(If anyone thinks this is incorrect, please reply)</div>
<div><br></div><div>Cal</div><div><br></div><div><div><div><div class="gmail_quote">On Mon, Jan 7, 2013 at 3:19 PM, Seven Du <span dir="ltr">&lt;<a href="mailto:dujinfang@gmail.com" target="_blank">dujinfang@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                <div>I tried to parse that in Erlang and the xmerl XML lib seems has bug on parsing the unicode identity where I can only get one character &quot;会&quot; where it should be &quot;会议142248&quot;.</div><div>
<br></div><div>But the real question is why it&#39;s different on different place in the XML with the same characters.</div>
                <div><div><br></div><div>Thanks.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>-- </div><div>Seven Du</div><div>Sent with <a href="http://www.sparrowmailapp.com/?sig" target="_blank">Sparrow</a></div>
<div><br></div></font></span></div><div class="HOEnZb"><div class="h5">
                 
                <p style="color:#a0a0a8">On Monday, January 7, 2013 at 8:57 PM, Cal Leeming [Simplicity Media Ltd] wrote:</p>
                <blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px">
                    <span><div><div>Hi Seven,<div><br></div><div>Could you elaborate more on &quot;having difficulty parsing this&quot;?</div><div><br></div><div>What are you parsing it with?</div><div>What are you trying to achieve?</div>
<div>What should be happening vs what is actually happening?</div>
<div><br>Etc.</div><div><br></div><div>Cal</div><div><br></div><div><br><div>On Mon, Jan 7, 2013 at 6:41 AM, Seven Du <span dir="ltr">&lt;<a href="mailto:dujinfang@gmail.com" target="_blank">dujinfang@gmail.com</a>&gt;</span> wrote:<br>
<blockquote type="cite"><div>
                <div>
                    Hi
                </div><div><br></div><div>We used Chinese UTF8 in chan vars and some times it&#39;s url encoded but sometimes in html entity, specifically in variables it&#39;s %xx but in caller_profile it&#39;s &amp;#xxxx, all has the same &quot;会142248&quot;.</div>

<div><br></div><div>We have some difficulty on parsing this, any comment on this?</div><div><br></div><div><div>&lt;?xml version=&quot;1.0&quot;?&gt;</div><div>&lt;cdr core-uuid=&quot;c7d83a29-c498-4fff-b2ce-621e9fc21e94&quot;&gt;</div>

<div>  &lt;variables&gt;</div><div>    &lt;origination_caller_id_name&gt;%E4%BC%9A%E8%AE%AE142248&lt;/origination_caller_id_name&gt;</div><div>    &lt;origination_caller_id_number&gt;%E4%BC%9A%E8%AE%AE142248&lt;/origination_caller_id_number&gt;</div>

<div>    &lt;conference_name&gt;%E4%BC%9A%E8%AE%AE142248&lt;/conference_name&gt;</div><div><br></div><div>    &lt;caller_profile&gt;</div><div>      &lt;caller_id_name&gt;&amp;#x4F1A;&amp;#x8BAE;142248&lt;/caller_id_name&gt;</div>

<div>      &lt;caller_id_number&gt;&amp;#x4F1A;&amp;#x8BAE;142248&lt;/caller_id_number&gt;</div></div><div><br></div>
                <div><div><br></div><div>Thanks.</div></div>
            <br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></div></blockquote></div><br></div>
</div><div><div>_________________________________________________________________________</div><div>Professional FreeSWITCH Consulting Services:</div><div><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a></div>
<div><a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a></div><div><br></div><div>FreeSWITCH-powered IP PBX: The CudaTel Communication Server</div><div><a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a></div>
<div><br></div><div>Official FreeSWITCH Sites</div><div><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></div><div><a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a></div>
<div><a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a></div><div><br></div><div>FreeSWITCH-users mailing list</div><div><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a></div>
<div><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></div><div>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></div>
<div><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></div></div></div></span>
                 
                 
                 
                 
                </blockquote>
                 
                <div>
                    <br>
                </div>
            </div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div></div></div>