Changeset 1021


Ignore:
Timestamp:
Jan 23, 2004, 3:06:49 AM (22 years ago)
Author:
bird
Message:

Added conversion from codepage identifies 'SYSTEM', 'UCS-2LE' and 'UTF-8' to appropriate IBM-XXXX.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/src/lib/locale/__convcp.c

    • Property cvs2svn:cvs-rev changed from 1.2 to 1.3
    r1020 r1021  
    1818  size_t sl = 0;
    1919
    20   if (!stricmp (cp, "EUC-JP"))
     20  if (!stricmp (cp, "SYSTEM"))
     21    *ucp = 0;
     22  else if (!stricmp (cp, "UTF-8"))
     23    memcpy (ucp, L"IBM-1208", 9*2);
     24  else if (!stricmp (cp, "UCS-2LE"))
     25    memcpy (ucp, L"IBM-1200", 9*2);
     26  else if (!stricmp (cp, "EUC-JP"))
    2127    memcpy (ucp, L"IBM-954", 8*2);
    2228  else if (!stricmp (cp, "EUC-KR"))
Note: See TracChangeset for help on using the changeset viewer.