![]() Mixed Codesets |
![]() DEVELOPER |
![]() |
Mixed Codesets
PROIV supports mixed codesets in a single application, enabling the developer to transparently handle application display and data entry in one codeset, while processing and storing the incoming information in the same or a superset of the same codeset.
The originating codeset, or a superset of it, is required so that information is not lost during translation. For example, an application reads data from a file in Shift JIS format and processes it in UTF8 format, and then returns processing results in Shift JIS. If a character cannot be mapped from one codeset to another codeset, the character ‘?’ appears by default.
The following is an example of mixed codesets:
Display/Input |
Processing |
Storage |
CODE1252 |
CODE0850 |
CODE0850 |
CODE1252 |
CODE0437 |
CODE0437 |
Shift JIS |
UTF8 |
UTF8 |
Shift JIS |
Shift JIS |
EUC |
ASCII |
UTF8 |
UTF8 |
KSC |
UTF8 |
UTF8 |
Unicode |
UTF8 |
UTF8 |
BIG5 |
UTF8 |
UTF8 |
Topic ID: 730081