aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/iconv.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/posix/iconv.c')
-rw-r--r--toys/posix/iconv.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/toys/posix/iconv.c b/toys/posix/iconv.c
index ce375b4a..d2721672 100644
--- a/toys/posix/iconv.c
+++ b/toys/posix/iconv.c
@@ -18,8 +18,8 @@ config ICONV
Convert character encoding of files.
-c Omit invalid chars
- -f Convert from (default utf8)
- -t Convert to (default utf8)
+ -f Convert from (default UTF-8)
+ -t Convert to (default UTF-8)
*/
#define FOR_iconv
@@ -63,8 +63,8 @@ static void do_iconv(int fd, char *name)
void iconv_main(void)
{
- if (!TT.t) TT.t = "utf8";
- if (!TT.f) TT.f = "utf8";
+ if (!TT.t) TT.t = "UTF-8";
+ if (!TT.f) TT.f = "UTF-8";
if ((iconv_t)-1 == (TT.ic = iconv_open(TT.t, TT.f)))
perror_exit("%s/%s", TT.t, TT.f);