diff options
-rw-r--r-- | src/locale/langinfo.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/locale/langinfo.c b/src/locale/langinfo.c index 776b4478..69693fff 100644 --- a/src/locale/langinfo.c +++ b/src/locale/langinfo.c @@ -33,8 +33,7 @@ char *__nl_langinfo_l(nl_item item, locale_t loc) int idx = item & 65535; const char *str; - if (item == CODESET) - return MB_CUR_MAX==1 ? "UTF-8-CODE-UNITS" : "UTF-8"; + if (item == CODESET) "UTF-8"; switch (cat) { case LC_NUMERIC: |