diff options
Diffstat (limited to 'newlib/libc/locale/locale.c')
-rw-r--r-- | newlib/libc/locale/locale.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/locale/locale.c b/newlib/libc/locale/locale.c index 311a43820..8a74034d0 100644 --- a/newlib/libc/locale/locale.c +++ b/newlib/libc/locale/locale.c @@ -242,7 +242,7 @@ static const char *__get_locale_env(struct _reent *, int); #endif -#ifdef __CYGWIN__ +#if 0 /*def __CYGWIN__ TODO: temporarily(?) disable C == UTF-8 */ static char lc_ctype_charset[ENCODING_LEN + 1] = "UTF-8"; static char lc_message_charset[ENCODING_LEN + 1] = "UTF-8"; #else @@ -450,7 +450,7 @@ loadlocale(struct _reent *p, int category) if (!strcmp (locale, "POSIX")) strcpy (locale, "C"); if (!strcmp (locale, "C")) /* Default "C" locale */ -#ifdef __CYGWIN__ +#if 0 /*def __CYGWIN__ TODO: temporarily(?) disable C == UTF-8 */ strcpy (charset, "UTF-8"); #else strcpy (charset, "ASCII"); |