1<!DOCTYPE HTML PUBLIC "-//W3C//Dtd> HTML 4.01 Transitional//EN">
2<html>
3<head>
4<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
5<meta http-equiv="Content-Style-Type" content="text/css">
6	<title>ENC Demos</title>
7<link rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
8</head>
9<body>
10
11<H1>Character Code Conversion (ENC) Sample Demos</H1>
12
13<h2>Location</h2>
14<p><code>$REVOLUTION_SDK_ROOT/build/demos/encdemo</code></p>
15<h2>Compilation</h2>
16<p>Move to the <code>$REVOLUTION_SDK_ROOT/build/demos/encdemo</code> directory and enter &quot;make&quot;.<br>An executable file (<code>.elf</code>) will be generated in <code>$REVOLUTION_SDK_ROOT/RVL/bin/demos/encdemo/</code>.</p>
17
18<h2>Execution</h2>
19<p>Move to the <code>$REVOLUTION_SDK_ROOT/RVL/bin/demos/encdemo/</code> directory and perform the following steps:</p>
20<ul>
21<li>To simply execute the application, run the <code>ndrun</code> script using the <code>.elf</code> file as the argument.</li>
22<li>To debug using CodeWarrior, do one of the following:</li>
23<ul>
24<li>?Execute <code>$CWFOLDER/bin/IDE.exe</code> with the <code>.elf</code> file as an argument.</li>
25<li>?Launch <code>$CWFOLDER/bin/IDE.exe</code>, then drag and drop the <code>.elf</code> file.</li>
26<li>If the <code>.elf</code> file is associated with <code>$CWFOLDER/bin/IDE.exe</code>, double-click the <code>.elf</code> file</li>
27</ul>
28
29</ul>
30
31<h2>Description</h2>
32<TABLE class="demo_list" border="1" >
33  <tbody>
34    <tr>
35<th>encsample</th>
36<td>Performs conversion between the external character encoding and the internal character encoding.<br>Specifies the handling of substitute characters and carriage return codes using the conversion context.</td>
37    </tr>
38    <tr>
39<th>encjapanese</th>
40<td>Performs conversion between the Japanese character encoding and the internal character encoding.</td>
41    </tr>
42    <tr>
43<th>enclatin</th>
44<td>Performs conversion between ISO-8859 and the internal character encoding.</td>
45    </tr>
46    <tr>
47<th>encunicode</th>
48<td>Performs conversion between UTF encodings.</td>
49    </tr>
50    <tr>
51<th>encalternate</th>
52<td>Replaces unconvertible characters with alternate characters.</td>
53    </tr>
54  </tbody>
55</table>
56
57<h2>See Also</h2>
58<p class="reference">
59<A href="../toc.html" target="contents">ENC function</a>
60</p>
61
62<h2>Revision History</h2>
63<p>
6412/25/2006 Initial version. <br>
65</p>
66
67<hr><p>CONFIDENTIAL</p></body>
68</html>
69