News for hackers. Stuff that matters.
Re:Show HN: Command Line Tool to Sort CSV and TSV Files by M... by johnweldon on Friday January 05, 2018 @11:16AM (#16079467)
Works great with previously shared Go command line tool jw4.us/to8 when input files are not UTF8.

Use to8 to convert from UTF(32|16)(LE)? etc. to UTF8 first, then sort with this tool.

Re:Show HN: Command Line Tool to Sort CSV and TSV Files by M... by donatj on Friday January 05, 2018 @02:47PM (#16081081)
Is there an advantage to to8 over iconv?

I've used iconv for years and it's never let me down.

Re:Show HN: Command Line Tool to Sort CSV and TSV Files by M... by johnweldon on Friday January 05, 2018 @02:56PM (#16081145)
I wrote this tool because I don't want to explicitly know the original encoding, I just want _any_ encoding to be converted to UTF8. AFAIK, iconv requires the source encoding to be specified on the command line.