Sophie

Sophie

distrib > Mageia > 6 > armv5tl > media > core-updates > by-pkgid > 768f7d9f703884aa2562bf0a651086df > files > 96

qtbase5-doc-5.9.4-1.1.mga6.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- codecs.qdoc -->
  <title>ISO 2022-JP (JIS) Text Codec | Qt Core 5.9</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td >Qt 5.9</td><td ><a href="qtcore-index.html">Qt Core</a></td><td >ISO 2022-JP (JIS) Text Codec</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right">Qt 5.9.4 Reference Documentation</td>
        </tr></table>
      </div>
    </div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">ISO 2022-JP (JIS) Text Codec</h1>
<span class="subtitle"></span>
<!-- $$$codecs-jis.html-description -->
<div class="descr"> <a name="details"></a>
<p>The JIS codec provides conversion to and from ISO 2022-JP.</p>
<p>The environment variable <code>UNICODEMAP_JP</code> can be used to fine-tune the JIS, Shift-JIS, and EUC-JP codecs. The mapping names are as for the Japanese XML working group's <a href="http://www.y-adagio.com/public/standards/tr_xml_jpf/toc.htm">XML Japanese Profile</a>, because it names and explains all the widely used mappings. Here are brief descriptions, written by Serika Kurusugawa:</p>
<ul>
<li>&quot;unicode-0.9&quot; or &quot;unicode-0201&quot; for Unicode style. This assumes JISX0201 for 0x00-0x7f. (0.9 is a table version of jisx02xx mapping used for Unicode 1.1&#x2e;)</li>
<li>&quot;unicode-ascii&quot; This assumes US-ASCII for 0x00-0x7f; some chars (JISX0208 0x2140 and JISX0212 0x2237) are different from Unicode 1.1 to avoid conflict.</li>
<li>&quot;open-19970715-0201&quot; (&quot;open-0201&quot; for convenience) or &quot;jisx0221-1995&quot; for JISX0221-JISX0201 style. JIS X 0221 is JIS version of Unicode, but a few chars (0x5c, 0x7e, 0x2140, 0x216f, 0x2131) are different from Unicode 1.1&#x2e; This is used when 0x5c is treated as YEN SIGN.</li>
<li>&quot;open-19970715-ascii&quot; (&quot;open-ascii&quot; for convenience) for JISX0221-ASCII style. This is used when 0x5c is treated as REVERSE SOLIDUS.</li>
<li>&quot;open-19970715-ms&quot; (&quot;open-ms&quot; for convenience) or &quot;cp932&quot; for Microsoft Windows style. Windows Code Page 932. Some chars (0x2140, 0x2141, 0x2142, 0x215d, 0x2171, 0x2172) are different from Unicode 1.1&#x2e;</li>
<li>&quot;jdk1.1&#x2e;7&quot; for Sun's JDK style. Same as Unicode 1.1, except that JIS 0x2140 is mapped to UFF3C. Either ASCII or JISX0201 can be used for 0x00-0x7f.</li>
</ul>
<p>In addition, the extensions &quot;nec-vdc&quot;, &quot;ibm-vdc&quot; and &quot;udc&quot; are supported.</p>
<p>For example, if you want to use Unicode style conversion but with NEC's extension, set <code>UNICODEMAP_JP</code> to <code>unicode-0.9, nec-vdc</code>. (You will probably need to quote that in a shell command.)</p>
<p>Most of the code here was written by Serika Kurusugawa, a.k&#x2e;a&#x2e; Junji Takagi, and is included in Qt with the author's permission and the grateful thanks of the Qt team.</p>
</div>
<p><b>See also </b><a href="qtcore-attribution-qjiscodec.html">Text Codec: ISO 2022-JP (JIS)</a>.</p>
<!-- @@@codecs-jis.html -->
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2017 The Qt Company Ltd.
   Documentation contributions included herein are the copyrights of
   their respective owners.<br>    The documentation provided herein is licensed under the terms of the    <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation    License version 1.3</a> as published by the Free Software Foundation.<br>    Qt and respective logos are trademarks of The Qt Company Ltd.     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>