aboutsummaryrefslogtreecommitdiff
path: root/miscutils/iconv.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* iconv: minor fixesRon Yorston2020-02-181-13/+14
| | | | | | | Add an explicit test for EOF. Otherwise when processing input from interactive stdin it's necessary to enter ^Z twice to signal EOF. Allow '-' to be mixed with actual file names on the command line.
* iconv: more improvementsRon Yorston2020-02-161-55/+19
| | | | | | | | | | | | | - Only load required functions from mlang.dll. - The '-f' and '-t' options aren't compulsory. - Use xstrdup() instead of xstrndup() and don't check its return value. - Replace string comparisons when checking for encoding options with a single call to index_in_strings(). Saves 224 bytes.
* iconv: code shrink (2)Ron Yorston2020-02-141-86/+34
| | | | | | | | | Rewrite iconv_open/iconv/iconv_close to merge Windows-specific code. Make them static. Use getopt32() to process options. Saves 400 bytes.
* iconv: code shrinkRon Yorston2020-02-141-456/+457
| | | | | | | Reduce the size of the codepage alias table by concatenating the alias strings rather than storing pointers to them. Saves 1328 bytes.
* iconv: depends on PLATFORM_MINGW32Ron Yorston2019-01-101-0/+1
|
* iconv: import from win-iconvRon Yorston2019-01-061-0/+1846
Source imported from https://github.com/win-iconv/win-iconv and modified to build in busybox-w32.