logoalt Hacker News

josephgtoday at 11:44 AM1 replyview on HN

> to get Excel to correctly load a UTF8 encoded CSV or similar you must include the BOM

Ah so that’s the trick! I’ve run into this problem a bunch of times in the wild, where some script emits csv which works on the developers machine but fails strangely with real world data.

Good to know there’s a simple solution. I hope I remember your comment next time I see this!


Replies

silon42today at 12:16 PM

Excel CSV is broken anyway, since in some (EU, ...) countries it needs ; as separator.

show 2 replies