<div dir="ltr"><div dir="ltr"><div class="gmail_default" style=""><font color="#000000">I apologize for not speaking up earlier. Yes, there was a known issue with special characters in older builds. In 1.9.0, we enhanced QF/n to support the ful</font>l iso-8859-1 character set.</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)">The current QF/n release is 1.10. If you are not using it, I strongly suggest updating.</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)">(Technically per FIX spec, counterparties should not be sending non-ASCII characters in non-"EncodedXXX" fields, but too many FIX counterparties just do whatever they want...)</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Aug 18, 2021 at 3:56 AM Marc Allaume <<a href="mailto:mallaume@infin.fr">mallaume@infin.fr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="FR" style="overflow-wrap: break-word;">
<div class="gmail-m_-655894339285481331WordSection1">
<p class="MsoNormal"><span>Hi,<u></u><u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<p class="MsoNormal"><span>Same here ! Also very interested if any safer solution is possible…<u></u><u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<p class="MsoNormal"><span>Marc<u></u><u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<div>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(225,225,225);padding:3pt 0cm 0cm">
<p class="MsoNormal"><b>De :</b> Quickfixn <<a href="mailto:quickfixn-bounces@lists.quickfixn.com" target="_blank">quickfixn-bounces@lists.quickfixn.com</a>>
<b>De la part de</b> Jiho HAN<br>
<b>Envoyé :</b> mardi 17 août 2021 21:53<br>
<b>À :</b> Mailing list for QuickFIX/n <<a href="mailto:quickfixn@lists.quickfixn.com" target="_blank">quickfixn@lists.quickfixn.com</a>><br>
<b>Objet :</b> Re: {{Quickfixn}} FIX message contains bad character, how can we skip it<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span lang="EN-US" style="color:rgb(31,73,125)">I ran into the same issue last Monday and we used the same workaround but only after some damage was already done.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:rgb(31,73,125)">It looks like 1.9.0 fixes the issue for us, at least for the particular issue we ran into (umlaut a in tag 58) but should it happen again in some other manner, I don’t have much confidence that we
won’t be left with another mess to clean up.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:rgb(31,73,125)">I would also love an option to skip/mark the message and move on since we are mostly a drop copy shop, one bad message lost isn’t that big of a deal.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:rgb(31,73,125)">Disconnecting the session as it does now seems like a very drastic move for a bad message.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:rgb(31,73,125)">Thanks<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:rgb(31,73,125)">Jiho<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Classification: Confidential<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:rgb(31,73,125)"><u></u> <u></u></span></p>
<div>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(225,225,225);padding:3pt 0cm 0cm">
<p class="MsoNormal"><a name="m_-655894339285481331______replyseparator"></a><b><span lang="EN-US">From:</span></b><span lang="EN-US"> Quickfixn <<a href="mailto:quickfixn-bounces@lists.quickfixn.com" target="_blank">quickfixn-bounces@lists.quickfixn.com</a>>
<b>On Behalf Of </b>Toomey, Sean<br>
<b>Sent:</b> Wednesday, August 11, 2021 7:09 PM<br>
<b>To:</b> <a href="mailto:quickfixn@lists.quickfixn.com" target="_blank">quickfixn@lists.quickfixn.com</a><br>
<b>Cc:</b> Vincent, Brad <<a href="mailto:Brad.Vincent@broadridge.com" target="_blank">Brad.Vincent@broadridge.com</a>><br>
<b>Subject:</b> [EXTERNAL] {{Quickfixn}} FIX message contains bad character, how can we skip it<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Hi All,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Looking for some advice on how to handle this situation (<a href="https://github.com/connamara/quickfixn/issues/683" target="_blank">https://github.com/connamara/quickfixn/issues/683</a>), raised by someone else earlier this year but
I just ran into it earlier today.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">How can malformed messages be rejected and bypassed in code? Right now it seems the only solutions are no validation or manual intervention. Thanks.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Issue defined below:<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-bottom:12pt;background:white">
<i><span lang="EN-US" style="font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:rgb(36,41,46)">Certain brokers sending us a FIX message where the tag 58 value contains invalid characters that causes the FIX engine to stop with "Invalid message: Expected ..."<u></u><u></u></span></i></p>
<p class="MsoNormal" style="margin-bottom:12pt;background:white"><i><span lang="EN-US" style="font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:rgb(36,41,46)">Session FIX.4.4:TEST->CLIENT disconnecting: QuickFix.InvalidMessage: Invalid message: Expected
BodyLength=797, Received BodyLength=795<br>
at QuickFix.Session.Next(MessageBuilder msgBuilder)<br>
at QuickFix.SocketInitiatorThread.ProcessStream()<br>
at QuickFix.SocketInitiatorThread.Read()<u></u><u></u></span></i></p>
<p class="MsoNormal" style="margin-bottom:12pt;background:white"><b><i><span lang="EN-US" style="font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:rgb(36,41,46)">Workaround</span></i></b><i><span lang="EN-US" style="font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:rgb(36,41,46)"><u></u><u></u></span></i></p>
<ol start="1" type="1">
<li class="MsoNormal" style="color:rgb(36,41,46);background:white">
<i><span lang="EN-US" style="font-size:10.5pt;font-family:"Segoe UI",sans-serif">Stop FIX engine and jump the sequence number by one.<u></u><u></u></span></i></li></ol>
<p class="MsoNormal" style="background:white"><i><span lang="EN-US" style="font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:rgb(36,41,46)">Is it possible to extend QuickFixN so it delivers the payload as bad message then jumps to
the next message?<u></u><u></u></span></i></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal" style="margin-bottom:6pt"><b><span lang="EN-US" style="font-size:10pt;color:black">Sean Toomey</span></b><span lang="EN-US" style="font-size:10pt;color:black"> |
</span><span lang="EN-US" style="font-size:10pt;color:rgb(35,31,32)">Development Manager, Securities Finance Collateral Management
</span><span lang="EN-US" style="font-size:10pt;color:black">| Broadridge Financial Solutions, Inc.<br>
p +1 413-395-9511 | m +1 413-281-2180<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:0.5pt;margin-left:0cm">
<a href="https://www.linkedin.com/company/broadridge-financial-solutions" target="_blank"><span lang="EN-US" style="font-size:10pt;color:black;text-decoration:none"><img border="0" width="16" height="16" style="width: 0.1666in; height: 0.1666in;" id="gmail-m_-655894339285481331Picture_x0020_4" src="cid:17b5b0e55454ce8e91"></span></a><span lang="EN-US" style="font-size:10pt;color:black"> </span><a href="https://twitter.com/broadridge" target="_blank"><span lang="EN-US" style="font-size:10pt;color:black;text-decoration:none"><img border="0" width="16" height="16" style="width: 0.1666in; height: 0.1666in;" id="gmail-m_-655894339285481331Picture_x0020_5" src="cid:17b5b0e55455b006a2"></span></a><span lang="EN-US" style="font-size:10pt;color:black"> </span><a href="https://www.youtube.com/user/BroadridgeInsights" target="_blank"><span lang="EN-US" style="font-size:10pt;color:black;text-decoration:none"><img border="0" width="16" height="16" style="width: 0.1666in; height: 0.1666in;" id="gmail-m_-655894339285481331Picture_x0020_6" src="cid:17b5b0e55456917eb3"></span></a><span lang="EN-US" style="font-size:10pt;color:black"> </span><a href="https://www.facebook.com/BroadridgeCareers" target="_blank"><span lang="EN-US" style="font-size:10pt;color:black;text-decoration:none"><img border="0" width="16" height="16" style="width: 0.1666in; height: 0.1666in;" id="gmail-m_-655894339285481331Picture_x0020_2" src="cid:17b5b0e5545772f6c4"></span></a><span lang="EN-US" style="font-size:10pt;color:black"><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:0.5pt;margin-left:0cm">
<u><span lang="EN-US" style="font-size:10pt;color:black"><a href="http://www.broadridge.com/" target="_blank"><span style="color:black">broadridge.com</span></a></span></u><u><span lang="EN-US" style="color:black"><u></u><u></u></span></u></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt;font-family:"Times New Roman",serif">This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader
of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify
us immediately by e-mail and delete the message and any attachments from your system.<u></u><u></u></span></p>
</div>
<p><span lang="EN-US"><br>
This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or
disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. Please note that certain
functions and services for BNP Paribas may be performed by BNP Paribas RCC, Inc.<u></u><u></u></span></p>
<p><span lang="EN-US"><br>
Unless otherwise provided above, this message was sent by BNP Paribas, or one of its affiliates in Canada, having an office at 1981 McGill College Avenue, Montreal, QC, H3A 2W8, Canada. To the extent this message is being sent from or to Canada, you may unsubscribe
from receiving commercial electronic messages by using this link: <a href="http://www.bnpparibas.ca/en/unsubscribe/" target="_blank">
www.bnpparibas.ca/en/unsubscribe/</a>. See <a href="http://www.bnpparibas.ca" target="_blank">www.bnpparibas.ca</a> for more information on BNP Paribas, in Canada.<u></u><u></u></span></p>
</div>
</div>
_______________________________________________<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>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div><font size="2"><span style="background-color:rgb(0,0,0)"><span style="background-color:rgb(255,255,255)">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:rgb(255,204,51)"><span style="background-color:rgb(255,204,102)"><span style="background-color:rgb(255,204,153)"><span style="background-color:rgb(255,255,255)"><span style="background-color:rgb(255,204,0)">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>
<br>
<span style="color:rgb(29,28,29);font-family:Slack-Lato,appleLogo,sans-serif;white-space:pre-wrap;background-color:white"><font size="2">This email, along with any attachments, is confidential. If you believe you received this message in error, please contact the sender immediately and delete all copies of the message. Thank you from Connamara Systems, LLC.</font></span>