<div dir="ltr"><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">​Per the FIX standard, non-ASCII characters are not supposed to be sent in FIX messages outside of "EncodedXXX" fields.</div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">In reality, many counterparties do it anyway.</div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">​Some time ago I put in a fix that (so I thought) would allow UTF-8 characters to be accepted.  I can't remember which release that went into, or if it's only in the repo right now.</div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">Can you try downloading the latest engine source and building and see if you see an improvement?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 24, 2015 at 2:02 AM, 陈荣澍 <span dir="ltr"><<a href="mailto:chenrongshu@yxinvestment.com" target="_blank">chenrongshu@yxinvestment.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
<div><span></span></div><div><span><div style="MARGIN:10px;FONT-FAMILY:verdana;FONT-SIZE:10pt">I guess I need to deal with the QF source codes directly. Can someone <span style="background-color:rgba(0,0,0,0);line-height:1.5">shed light on this please ?</span></div></span></div>
<blockquote style="margin-top:0px;margin-bottom:0px;margin-left:0.5em"><div> </div><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm"><div style="PADDING-RIGHT:8px;PADDING-LEFT:8px;FONT-SIZE:12px;FONT-FAMILY:tahoma;COLOR:#000000;BACKGROUND:#efefef;PADDING-BOTTOM:8px;PADDING-TOP:8px"><div><b>From:</b> <a href="mailto:chenrongshu@yxinvestment.com" target="_blank">陈荣澍</a></div><div><b>Date:</b> 2015-11-23 08:33</div><div><b>To:</b> <a href="mailto:quickfixn@lists.quickfixn.com" target="_blank">quickfixn</a></div><div><b>Subject:</b> Re: Re: {{Quickfixn}} How to catch transport-layer exception</div></div></div><div><div class="h5"><div><div>
<div><span></span>Hi Grant,</div><div><br></div><div>Yes, is there a way to support <span>non english characters</span>?</div><div><br></div><div>Thanks.</div><blockquote style="margin-top:0px;margin-bottom:0px;margin-left:0.5em"><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm"><div style="PADDING-RIGHT:8px;PADDING-LEFT:8px;FONT-SIZE:12px;FONT-FAMILY:tahoma;COLOR:#000000;BACKGROUND:#efefef;PADDING-BOTTOM:8px;PADDING-TOP:8px"><div><b>From:</b> <a href="mailto:gbirchmeier@connamara.com" target="_blank">Grant Birchmeier</a></div><div><b>Date:</b> 2015-11-20 23:56</div><div><b>To:</b> <a href="mailto:quickfixn@lists.quickfixn.com" target="_blank">Mailing list for QuickFIX/n</a></div><div><b>Subject:</b> Re: {{Quickfixn}} How to catch transport-layer exception</div></div></div><div><div><div dir="ltr"><div class="gmail_default" style="font-size:small;color:#000000">Is this error being caused by messages that contain Chinese characters?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 20, 2015 at 1:16 AM, 陈荣澍 <span dir="ltr"><<a href="mailto:chenrongshu@yxinvestment.com" target="_blank">chenrongshu@yxinvestment.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.5em;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div>
<div><span></span>Everytime there is a transport-layer exception, QF will kick out the current session and re-init a logon request like below. Is there a way to catch this kind of exception to avoid re-<span>initializing </span>the current session?</div>
<div><br></div><div><span><div style="MARGIN:10px;FONT-FAMILY:verdana;FONT-SIZE:10pt"><div><span style="background-color:rgba(0,0,0,0)">20151120-07:00:38.656 : Connection succeeded<br>20151120-07:00:38.675 : Session reset: ResetOnLogon<br>20151120-07:00:38.696 : Session reset: ResetSeqNumFlag<br>20151120-07:00:38.698 : Initiated logon request<br>20151120-07:00:38.970 : Sequence numbers reset due to ResetSeqNumFlag=Y<br>20151120-07:00:40.899 : Received logon<br><font color="#ff0000">20151120-07:00:48.843 : Invalid message: Expected BodyLength=295, Received BodyLength=255<br>20151120-07:00:48.868 : Session FIX.4.2:client->Q_SERVER disconnecting: QuickFix.InvalidMessage: Invalid message: Expected BodyLength=295, Received BodyLength=255</font><br>   在 QuickFix.Session.Next(MessageBuilder msgBuilder)<br>   在 QuickFix.Session.NextMessage(String msgStr)<br>   在 QuickFix.Session.Next(String msgStr)<br>   在 QuickFix.SocketInitiatorThread.ProcessStream()<br>   在 QuickFix.SocketInitiatorThread.Read()<br><font color="#ff0000">20151120-07:00:48.903 : Connecting to 10.253.251.93 on port 3383<br>20151120-07:00:48.909 : Connection succeeded</font><br>20151120-07:00:48.921 : Session reset: ResetOnLogon<br>20151120-07:00:48.929 : Session reset: ResetSeqNumFlag<br><font color="#ff0000">20151120-07:00:48.930 : Initiated logon request</font><br>20151120-07:00:49.400 : Sequence numbers reset due to ResetSeqNumFlag=Y</span></div><div><span style="background-color:rgba(0,0,0,0)"><br></span></div><div><span style="background-color:rgba(0,0,0,0)">Justin Chen</span></div><div><span style="background-color:rgba(0,0,0,0)">Thanks</span></div></div></span></div>
</div><br>_______________________________________________<br>
Quickfixn mailing list<br>
<a href="mailto:Quickfixn@lists.quickfixn.com" target="_blank">Quickfixn@lists.quickfixn.com</a><br>
<a href="http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com" rel="noreferrer" target="_blank">http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div><font size="2"><span style="background-color:#000000"><span style="background-color:#ffffff">Grant Birchmeier</span></span></font><font size="2"><font color="#3333ff"><br></font></font></div><div><font size="2"><b><font color="#3333ff"><span style="background-color:#ffcc33"><span style="background-color:#ffcc66"><span style="background-color:#ffcc99"><span style="background-color:#ffffff"><span style="background-color:#ffcc00">Connamara Systems, LLC</span></span></span></span></span></font></b></font><br></div><div><font size="2"><b>Made-To-Measure Trading Solutions.</b></font></div><div><font size="2">Exactly what you need. No more. No less.</font><font size="2"><b><font color="#3333ff"><br></font></b></font></div><div><font size="2"><a href="http://connamara.com" target="_blank">http://connamara.com</a><br></font></div></div>
</div>
</div></div></blockquote>
</div></div></div></div></blockquote>
</div><br>_______________________________________________<br>
Quickfixn mailing list<br>
<a href="mailto:Quickfixn@lists.quickfixn.com">Quickfixn@lists.quickfixn.com</a><br>
<a href="http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com" rel="noreferrer" target="_blank">http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div><font size="2"><span style="background-color:#000000"><span style="background-color:#ffffff">Grant Birchmeier</span></span></font><font size="2"><font color="#3333ff"><br></font></font></div><div><font size="2"><b><font color="#3333ff"><span style="background-color:#ffcc33"><span style="background-color:#ffcc66"><span style="background-color:#ffcc99"><span style="background-color:#ffffff"><span style="background-color:#ffcc00">Connamara Systems, LLC</span></span></span></span></span></font></b></font><br></div><div><font size="2"><b>Made-To-Measure Trading Solutions.</b></font></div><div><font size="2">Exactly what you need. No more. No less.</font><font size="2"><b><font color="#3333ff"><br></font></b></font></div><div><font size="2"><a href="http://connamara.com" target="_blank">http://connamara.com</a><br></font></div></div>
</div>