57 lines
3.3 KiB
HTML
57 lines
3.3 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 xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-us">
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||
|
<meta name="dc.language" scheme="rfc1766" 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. -->
|
||
|
<meta name="dc.date" scheme="iso8601" content="2005-09-06" />
|
||
|
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
|
||
|
<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))' />
|
||
|
<title>Code pages</title>
|
||
|
<link rel="stylesheet" type="text/css" href="ibmidwb.css" />
|
||
|
<link rel="stylesheet" type="text/css" href="ic.css" />
|
||
|
</head>
|
||
|
<body>
|
||
|
<a id="Top_Of_Page" name="Top_Of_Page"></a><!-- Java sync-link -->
|
||
|
<script language = "Javascript" src = "../rzahg/synch.js" type="text/javascript"></script>
|
||
|
|
||
|
|
||
|
<a name="rzaluconcodepages"></a>
|
||
|
<h5 id="rzaluconcodepages">Code pages</h5>
|
||
|
<p>Code pages come in two types: </p>
|
||
|
<ul>
|
||
|
<li>Code page (stand-alone)</li>
|
||
|
<li>Character set and code page combination (referred to as a CHRID).</li></ul>
|
||
|
<p>Code pages are groups of characters. Within a code page, there are unique
|
||
|
hexadecimal identifiers assigned to each of the characters.</p>
|
||
|
<p>As you enter your text at a computer keyboard, each keyboard character
|
||
|
is translated into a code point. When the text is printed, each code point
|
||
|
is matched to a character ID on the code page you specified. The character
|
||
|
ID is then matched to the image (raster pattern) of the character in the character
|
||
|
set you specified.</p>
|
||
|
<p>Some of these characters can be repeated in different code pages and have
|
||
|
a different hexadecimal identifier assigned to them. Conversely, the hexadecimal
|
||
|
identifier can be the same, but the characters will be different. Therefore,
|
||
|
if you have applications that use certain characters contained in only one
|
||
|
particular code page, it is important to know which code page you are using.</p>
|
||
|
<p>Below is a diagram of two code pages: code page 37 and code page 285.
|
||
|
They are printed in a 10-characters-per-inch (courier 10) font. Notice the
|
||
|
different character that occurs at code point hex <span class="hex">X'5B'</span>. One is a
|
||
|
US dollar ($) sign and the other an English pound or currency sign. This
|
||
|
example shows that different characters will print depending on the code page
|
||
|
you specify even though you are using an identical font style.</p>
|
||
|
<a name="wq49"></a>
|
||
|
<div class="fignone" id="wq49">
|
||
|
<div class="mmobj">
|
||
|
<img src="rv2h330.gif" alt="This example shows that different characters will print depending on the code page you specify even though you are using an identical font style." /></div></div>
|
||
|
<a id="Bot_Of_Page" name="Bot_Of_Page"></a>
|
||
|
</body>
|
||
|
</html>
|