aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/preconv.c
Commit message (Collapse)AuthorAgeFilesLines
* It's annoying that we don't have preconv, so throw together a quickKristaps Dzonsons2011-05-261-0/+316
version and let it grow in-tree. Right now, this only supports the Latin-1 and US-ASCII encoding. I'll do UTF-8 next. It's call-compatible with GNU's preconv although I don't do fancy stuff like BOM or header check. This will come. I used read.c's file-grokking code.