Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If it only was that easy. Experience has shown that the only reliable way is to run heuristics against the first few lines of the file.

There are office programs that save CSV with the proper comma delimiter regardless of the locale.

There are people who run non-local locales for various good reasons.

There are technically savvy people who have to deal with CSV shenanigans and can and will send it with the proper comma delimiter.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: