From b6b236270e4594ef459013398a2cb5b30df20c1c Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Sat, 6 Feb 2010 18:30:18 +0000 Subject: [PATCH] * nlsfuncs.cc (__set_charset_from_locale): Set default charset for "ka_GE" locale to GEORGIAN-PS, for "kk_KZ" to PT154. --- winsup/cygwin/ChangeLog | 7 ++++++- winsup/cygwin/nlsfuncs.cc | 4 ++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 95cf54512..ddcfd6313 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2010-02-06 Corinna Vinschen + + * nlsfuncs.cc (__set_charset_from_locale): Set default charset for + "ka_GE" locale to GEORGIAN-PS, for "kk_KZ" to PT154. + 2010-02-06 Corinna Vinschen * path.cc (symlink_info::check_nfs_symlink): Reopen file with @@ -18,7 +23,7 @@ 2010-02-05 Corinna Vinschen - * nlsfuncs.cc (__set_charset_from_locale): Set default locale for + * nlsfuncs.cc (__set_charset_from_locale): Set default charset for "uz_UZ" locale to ISO-8859-1, with the "@cyrillic" modifier to UTF-8. 2010-02-05 Christopher Faylor diff --git a/winsup/cygwin/nlsfuncs.cc b/winsup/cygwin/nlsfuncs.cc index 245839cb9..500f9b70f 100644 --- a/winsup/cygwin/nlsfuncs.cc +++ b/winsup/cygwin/nlsfuncs.cc @@ -891,6 +891,10 @@ __set_charset_from_locale (const char *locale, char *charset) cs = "ISO-8859-13"; else if (lcid == 0x043a) /* mt_MT (Maltese/Malta) */ cs = "ISO-8859-3"; + else if (lcid == 0x0437) /* ka_GE (Georgian/Georgia) */ + cs = "GEORGIAN-PS"; + else if (lcid == 0x043f) /* kk_KZ (Kazakh/Kazakhstan) */ + cs = "PT154"; else cs = "UTF-8"; break;