This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH/cygwin]: Support GEORGIAN-PS and PT154 charsets


2010/2/6 Corinna Vinschen:
> I just applied the below patch. ?It adds support for the GEORGIAN-PS and
> PT154 charsets if _MB_EXTENDED_CHARSETS_WINDOWS is set.
...
> RCS file: /cvs/src/src/newlib/libc/locale/locale.c,v
> retrieving revision 1.36
> diff -u -p -r1.36 locale.c
> --- libc/locale/locale.c ? ? ? ?5 Feb 2010 21:24:42 -0000 ? ? ? 1.36
> +++ libc/locale/locale.c ? ? ? ?6 Feb 2010 18:15:46 -0000
> @@ -56,34 +56,36 @@ for a given language, a three character
> ?<<"TERRITORY">> is a country code per ISO 3166. ?For <<"charset">> and
> ?<<"modifier">> see below.
>
> -Additionally to the POSIX specifier, seven extensions are supported for
> -backward compatibility with older implementations using newlib:
> -<<"C-UTF-8">>, <<"C-JIS">>, <<"C-eucJP">>, <<"C-SJIS">>, <<C-KOI8-R>>,
> -<<C-KOI8-U>>, <<"C-ISO-8859-x">> with 1 <= x <= 15, or <<"C-CPxxx">> with
> -xxx in [437, 720, 737, 775, 850, 852, 855, 857, 858, 862, 866, 874, 932,
> -1125, 1250, 1251, 1252, 1253, 1254, 1255, 1256, 1257, 1258].
> -
> -Instead of <<"C-">>, you can specify also <<"C.">>. ?Both variations allow
> +Additionally to the POSIX specifier, the following extension is supported
> +for backward compatibility with older implementations using newlib:
> +<<"C-charset">>.
> +Instead of <<"C-">>, you can also specify <<"C.">>. ?Both variations allow
> ?to specify language neutral locales while using other charsets than ASCII,
> ?for instance <<"C.UTF-8">>, which keeps all settings as in the C locale,
> ?but uses the UTF-8 charset.
>
> -Even when using POSIX locale strings, the only charsets allowed are
> +The following charsets are recogized:

typo
-- 
Reini Urban


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]