5 ms·
Is there anyone out there who actually believes all CSVs are UTF-16? That's such a weird idea that I have no idea how somebody would arrive at it. That's what
by chc 10y ago
Is there anyone out there who actually believes all CSVs are UTF-16? That's such a weird idea that I have no idea how somebody would arrive at it.
That's what always gets me about this genre of list — I often find myself scratching my head, trying to figure out if I've missed something or if they really listed that thing as a falsehood programmers believe.
- elastic_church 10y ago"I'm a programmers and thats an oddly specific thing I've never thought about"
- VLM 10y agoPossibly its asymmetric political power at its finest but I am aware of at least one "business intelligence" application that outputs its CSV files consistently as UTF-16BE (not LE) I'm not even sure what planet its from, much less the application, I just get stuck importing what they feel like sending me. I don't know why everything that upstream sends me is in UTF-16BE format, its just what they do. Perhaps they hate me, or my employer. I donno. Perhaps its an intelligence test to cut down on support costs, you must be this smart or smarter to mess with our data or go away.
- leesalminen 10y ago> Perhaps its an intelligence test to cut down on support costs, you must be this smart or smarter to mess with our data or go away. I like this design choice. I'll keep it in mind ;)
- pjc50 10y agoWindows MFC developers end up believing that all strings are UCS-2.
- Pxtl 10y agoSomebody who does a lot of Microsoft stuff? MS has a lot of CSV tools (excel) and tends to treat "unicode" and "utf-16" as synonyms.
- dragonwriter 10y agoExcel is not "a lot of CSV tools". It's at best one tool that, occasionally, fails to do the most-wrong thing when dealing with CSV.
- Pxtl 10y agoExcel is one example. SQL Server has a lot of CSV integration in its tools like SSMS and SSIS.
- nitwit005 10y agoIt appears to be a requirement for these "falsehoods programmers believe about X" to include a few items that no one genuinely believes.