Skip to content

Comment on Show HN: Command Line Tool to Sort CSV and TSV Files by Multiple Headings in Go

Comments

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.

Is there an advantage to to8 over iconv?

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

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.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.