mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 06:25:30 +00:00
ICU-5948 Set default codepage to ISO-8859-1 for Solaris when 646 is given by the OS.
X-SVN-Rev: 23794
This commit is contained in:
parent
851c8365ff
commit
4e49d2ab92
1 changed files with 7 additions and 0 deletions
|
@ -1463,6 +1463,13 @@ remapPlatformDependentCodepage(const char *locale, const char *name) {
|
|||
*/
|
||||
name = "eucjis";
|
||||
}
|
||||
else if (uprv_strcmp(name, "646") == 0) {
|
||||
/*
|
||||
* The default codepage given by Solaris is 646 but the C library routines treat it as if it was
|
||||
* ISO-8859-1 instead of US-ASCII(646).
|
||||
*/
|
||||
name = "ISO-8859-1";
|
||||
}
|
||||
#elif defined(U_DARWIN)
|
||||
if (locale == NULL && *name == 0) {
|
||||
/*
|
||||
|
|
Loading…
Add table
Reference in a new issue