105 lines
6.6 KiB
HTML
105 lines
6.6 KiB
HTML
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<!DOCTYPE html
|
||
|
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
|
<html lang="en-us" xml:lang="en-us">
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||
|
<meta name="security" content="public" />
|
||
|
<meta name="Robots" content="index,follow" />
|
||
|
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
|
||
|
<meta name="DC.Type" content="concept" />
|
||
|
<meta name="DC.Title" content="Process double-byte characters" />
|
||
|
<meta name="abstract" content="Due to the large number of double-byte characters, the system needs more information to identify each double-byte character than is needed to identify each alphanumeric character." />
|
||
|
<meta name="description" content="Due to the large number of double-byte characters, the system needs more information to identify each double-byte character than is needed to identify each alphanumeric character." />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rbagsdesigndbcsapps.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="../cl/crtdspf.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="../cl/crtprtf.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="../cl/chgdspf.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="../cl/chgprtf.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="../cl/ovrdspf.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="../cl/ovrprtf.htm" />
|
||
|
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
|
||
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1998, 2006" />
|
||
|
<meta name="DC.Format" content="XHTML" />
|
||
|
<meta name="DC.Identifier" content="rbagsprocessdbchars" />
|
||
|
<meta name="DC.Language" content="en-us" />
|
||
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
||
|
<!-- US Government Users Restricted Rights -->
|
||
|
<!-- Use, duplication or disclosure restricted by -->
|
||
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
||
|
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
|
||
|
<link rel="stylesheet" type="text/css" href="./ic.css" />
|
||
|
<title>Process double-byte characters</title>
|
||
|
</head>
|
||
|
<body id="rbagsprocessdbchars"><a name="rbagsprocessdbchars"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">Process double-byte characters</h1>
|
||
|
<div><p>Due to the large number of double-byte characters, the system needs
|
||
|
more information to identify each double-byte character than is needed to
|
||
|
identify each alphanumeric character.</p>
|
||
|
<p>There are two types of double-byte characters: basic and
|
||
|
extended. These characters are typically processed by the device on which
|
||
|
the characters are displayed or printed.</p>
|
||
|
<div class="section"><h4 class="sectiontitle">Basic double-byte characters:</h4><p>Basic characters are
|
||
|
frequently used double-byte characters that reside in the hardware of a DBCS-capable
|
||
|
device. The number of double-byte characters stored in the device varies with
|
||
|
the language supported and the storage size of the device. A DBCS-capable
|
||
|
device can display or print basic characters without using the extended character
|
||
|
processing function of the operating system.</p>
|
||
|
</div>
|
||
|
<div class="section"><h4 class="sectiontitle">Double-byte extended characters:</h4><p>When processing
|
||
|
extended characters, the device requires the assistance of the system. The
|
||
|
system must tell the device what the character looks like before the device
|
||
|
can display or print the character. Extended characters are stored in a DBCS
|
||
|
font table, not in the DBCS-capable device. When displaying or printing extended
|
||
|
characters, the device receives them from the DBCS font table under control
|
||
|
of the operating system.</p>
|
||
|
<p>Extended character processing is a function
|
||
|
of the operating system that is required to make characters stored in a DBCS
|
||
|
font table available to a DBCS-capable device.</p>
|
||
|
<p>To request extended character
|
||
|
processing, specify the double-byte extended character parameter, IGCEXNCHR(*YES),
|
||
|
on the file creation command when you create a display (CRTDSPF) or create
|
||
|
a printer file (CRTPRTF) command that processes double-byte data. Because
|
||
|
IGCEXNCHR(*YES) is the default value, the system automatically processes extended
|
||
|
characters unless you instruct it otherwise. You can change this file attribute
|
||
|
by using the change file (CHGDSPF) or (CHGPRTF) command. You can override
|
||
|
the file attribute with the override display file (OVRDSPF) or override printerfile
|
||
|
(OVRPRTF) command. For example, to override the display file DBCSDSPF so that
|
||
|
extended characters are processed, enter:</p>
|
||
|
<pre>OVRDSPF DSPF(DBCSDSPF) IGCEXNCHR(*YES)</pre>
|
||
|
<div class="note"><span class="notetitle">Notes:</span> <ol><li>The system ignores the IGCEXNCHR parameter when processing alphanumeric
|
||
|
files.</li>
|
||
|
<li>When you use the Japanese 5583 Printer to print extended characters, you
|
||
|
must use the Kanji print function of the Advanced DBCS Printer Support licensed
|
||
|
program.</li>
|
||
|
</ol>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="section"><h4 class="sectiontitle">What happens when extended characters are not processed:</h4><p>When extended characters are not processed, the following
|
||
|
events happen:</p>
|
||
|
<ul><li>Basic double-byte characters are displayed and printed.</li>
|
||
|
<li>On displays, the system displays the undefined character
|
||
|
where it would otherwise display extended characters.</li>
|
||
|
<li>On printed output, the system prints the undefined character
|
||
|
where it would otherwise print extended characters.</li>
|
||
|
<li>The extended characters, though not displayed or printed, are stored correctly
|
||
|
in the system.</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div>
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbagsdesigndbcsapps.htm" title="Design your application programs for processing double-byte data in the same way you design application programs for processing alphanumeric data.">Develop applications that process DBCS data</a></div>
|
||
|
</div>
|
||
|
<div class="relref"><strong>Related reference</strong><br />
|
||
|
<div><a href="../cl/crtdspf.htm">Create Display File (CRTDSPF) command</a></div>
|
||
|
<div><a href="../cl/crtprtf.htm">Create Printer File (CRTPRTF) command</a></div>
|
||
|
<div><a href="../cl/chgdspf.htm">Change Display File (CHGDSPF) command</a></div>
|
||
|
<div><a href="../cl/chgprtf.htm">Change Printer File (CHGPRTF) command</a></div>
|
||
|
<div><a href="../cl/ovrdspf.htm">Override with Display File (OVRDSPF) command</a></div>
|
||
|
<div><a href="../cl/ovrprtf.htm">Override with Printer File (OVRPRTF) command</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|