Look at the bytes to see why Excel's CSV turns to gibberish, then fix it
A CSV from Excel comes out garbled, refuses to load, or won't let you look up a column by name. You rebuild each case as bytes — Shift_JIS versus cp932, the UTF-8 BOM, line breaks inside cells, characters like 髙 and ① — then write read and write functions and a round-trip test.