30.06.2013 Views

File Management - IBM

File Management - IBM

File Management - IBM

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Appendix B. Double-byte character set support<br />

This appendix contains information that you need if you use double-byte<br />

characters. This includes the following topics:<br />

v Double-byte character set (DBCS) fundamentals<br />

v Processing double-byte characters<br />

v Device file support<br />

v Display support<br />

v Copying files that contain double-byte characters<br />

v Writing application programs that process double-byte characters<br />

v DBCS font tables<br />

v DBCS sort tables<br />

v DBCS conversion dictionaries<br />

v Using DBCS conversion<br />

DBCS printer and spooling support information can be found in the Printer Device<br />

Programming book.<br />

Double-byte character set fundamentals<br />

Some languages, such as Chinese, Japanese, and Korean, have a writing scheme<br />

that uses many different characters that cannot be represented with single-byte<br />

codes. To create coded character sets for such languages, the system uses two bytes<br />

to represent each character. Characters that are encoded in two-byte code are called<br />

double-byte characters.<br />

Figure 17 on page 198 shows alphanumeric characters coded in a single-byte code<br />

scheme and double-byte characters coded in a double-byte code scheme.<br />

You can use double-byte characters as well as single-byte characters in one<br />

application. For instance, you may want to store double-byte data and single-byte<br />

data in your database, create your display screens with double-byte text and fields,<br />

or print reports with double-byte characters.<br />

© Copyright <strong>IBM</strong> Corp. 1998, 2000 197

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!