* nlsfuncs.cc (__set_charset_from_locale): Set default locale for
"uz_UZ" locale to ISO-8859-1, with the "@cyrillic" modifier to UTF-8.
This commit is contained in:
		| @@ -1,3 +1,8 @@ | ||||
| 2010-02-05  Corinna Vinschen  <corinna@vinschen.de> | ||||
|  | ||||
| 	* nlsfuncs.cc (__set_charset_from_locale): Set default locale for | ||||
| 	"uz_UZ" locale to ISO-8859-1, with the "@cyrillic" modifier to UTF-8. | ||||
|  | ||||
| 2010-02-05  Christopher Faylor  <me+cygwin@cgf.cx> | ||||
|  | ||||
| 	* dll_init.cc (per_module::run_dtors): Use consistent method for | ||||
|   | ||||
| @@ -861,9 +861,10 @@ __set_charset_from_locale (const char *locale, char *charset) | ||||
|       cs = has_modifier ("@euro") ? "ISO-8859-15" : "ISO-8859-7"; | ||||
|       break; | ||||
|     case 1254: | ||||
|       if (lcid == 0x042c		/* az_AZ (Azeri/Azerbaijan) */ | ||||
| 	  || lcid == 0x0443)		/* uz_UZ (Uzbek/Uzbekistan) */ | ||||
|       if (lcid == 0x042c)		/* az_AZ (Azeri/Azerbaijan) */ | ||||
|       	cs = "UTF-8"; | ||||
|       else if (lcid == 0x0443)		/* uz_UZ (Uzbek/Uzbekistan) */ | ||||
| 	cs = has_modifier ("@cyrillic") ? "UTF-8" : "ISO-8859-1"; | ||||
|       else | ||||
| 	cs = has_modifier ("@euro") ? "ISO-8859-15" : "ISO-8859-9"; | ||||
|       break; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user