mirror of
https://github.com/SSCLI/sscli_20021101
synced 2026-06-08 12:28:57 +00:00
9fa3874800
Moved the original file to the archive subfolder.
59 lines
1.8 KiB
HTML
59 lines
1.8 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<html>
|
|
<head>
|
|
<TITLE>Genpalunitable Tool</TITLE>
|
|
<link rel="stylesheet" type="text/css" href="../rotor.css">
|
|
</head>
|
|
<body>
|
|
|
|
<H1>Genpalunitable Tool</H1>
|
|
|
|
|
|
<p>The Shared Source CLI (SSCLI) implements Unicode support in the
|
|
platform adaptation layer (PAL) by the
|
|
means of a table of values in the <a href="../../pal/unix/locale/unicode_data.c">
|
|
unicode_data.c</a> file.</p>
|
|
|
|
|
|
<p>The genpalunitable tool is the means of generating this file. The source for this tool can be found at
|
|
<a href="../../tools/genpalunitable">sscli\tools\genpalunitable</a>.
|
|
It must be run under an SSCLI build on Microsoft Windows® because it uses Windows APIs to
|
|
create the Unicode table data. </p>
|
|
|
|
|
|
<p>The genpalunitable tool calls the Microsoft Win32® API GetStringTypeExW() for
|
|
all 65536 Unicode characters, and records information about its return value in
|
|
this table. The PAL then uses this static table to implement GetStringTypeExW()
|
|
and other APIs that examine characteristics of Unicode characters.</p>
|
|
|
|
|
|
<p>To build this tool, switch to the sscli\tools\genpalunitable directory and
|
|
run the <code>build</code> command. The executable file will be created in
|
|
the rotor_x86 subdirectory. Run the tool and it will emit the unicode_data.c file in the same directory as the tool
|
|
executable file. </p>
|
|
|
|
|
|
<p>There is no build requirement to run this tool as the unicode_data.c is
|
|
included in the SSCLI source tree, but the tool is provided for informational
|
|
purposes.</p>
|
|
|
|
|
|
<h4>Usage</h4>
|
|
|
|
|
|
<blockquote>
|
|
|
|
|
|
<pre>genpalunitable</pre>
|
|
|
|
|
|
</blockquote>
|
|
|
|
|
|
<h5>See Also</h5>
|
|
|
|
<P><a href="tools_index.html">Tools Index</a></P>
|
|
<hr>
|
|
<p><i>Copyright (c) 2002 Microsoft Corporation. All rights reserved.</i></p>
|
|
</BODY>
|
|
</HTML> |