If the application will be used in a DBCS environment, ensure that
it is DBCS-enabled. Here are some suggestions to consider when you develop
the general product design.
- Reserve more expansion space for DBCS textual data translation than you
reserve for SBCS textual data translation. (It is possible, however, that
the number of bytes used may be reduced when a SBCS sentence is being translated
into DBCS.)
- Ensure programs can understand shift-out and shift-in delimiters. Otherwise,
EBCDIC mixed-byte character strings cannot be handled.
- Do not enable short responses for DBCS. For short responses, it is difficult
to shift in and out of DBCS. The yes and no are
examples of short responses.
- Remember to use the graphic data type G where appropriate.
- Remember that the 5494 remote controller supports the graphic data type.
- Be careful when converting mixed data between DBCS-host code and DBCS-PC
code, because the transition may change the data length. Losing and gaining
SO and SI character pairs can upset field-length calculations.
- Make sure the double-byte data is always processed in a double-byte unit.
Do not split a double-byte character.
- Design the display as well as the print format to avoid the problem of
truncation of a double-byte character into two single-byte units.