Standard preamble:
========================================================================
..
.... Set up some character translations and predefined strings. \*(-- will
give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
double quote, and \*(R" will give a right double quote. \*(C+ will
give a nicer C++. Capital omega is used to do unbreakable dashes and
therefore won't be available. \*(C` and \*(C' expand to `' in nroff,
nothing in troff, for use with C<>.
.tr \(*W- . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\}
Escape single quotes in literal strings from groff's Unicode transform.
If the F register is >0, we'll generate index entries on stderr for
titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
entries marked with X<> in POD. Of course, you'll have to process the
output yourself in some meaningful fashion.
Avoid warning from groff about undefined register 'F'.
.. .nr rF 0 . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF ========================================================================
Title "Encode::HanExtra 3"
way too many mistakes in technical documents.
However, the numbers of Chinese encodings are staggering, and a complete coverage will easily increase the size of perl distribution by several megabytes; hence, this \s-1CPAN\s0 module tries to provide the rest of them.
If you are using Perl 5.8 or later, Encode::CN and Encode::TW will automatically load the extra encodings for you, so there's no need to explicitly write \*(C`use Encode::HanExtra\*(C' if you are using one of them already.
.Vb 10 Canonical Alias Description ----------------------------------------------------------------------------- big5-1984 /\eb(tca-)?big5-?(19)?84$/i TCA\*(Aqs original Big5-1984 big5-2003 /\eb(cmex-)?big5-?(20)?03$/i Big5-2003 (national standard) big5ext /\eb(cmex-)?big5-?e(xt)?$/i CMEX\*(Aqs Big5e Extension big5plus /\eb(cmex-)?big5-?p(lus)?$/i CMEX\*(Aqs Big5+ Extension /\eb(cmex-)?big5\e+$/i cccii /\eb(ccag-)?cccii$/i Chinese Character Code for Information Interchange cns11643-1 /\ebCNS[-_ ]?11643[-_]1$/i Taiwan\*(Aqs CNS map, plane 1 cns11643-2 /\ebCNS[-_ ]?11643[-_]2$/i Taiwan\*(Aqs CNS map, plane 2 cns11643-3 /\ebCNS[-_ ]?11643[-_]3$/i Taiwan\*(Aqs CNS map, plane 3 cns11643-4 /\ebCNS[-_ ]?11643[-_]4$/i Taiwan\*(Aqs CNS map, plane 4 cns11643-5 /\ebCNS[-_ ]?11643[-_]5$/i Taiwan\*(Aqs CNS map, plane 5 cns11643-6 /\ebCNS[-_ ]?11643[-_]6$/i Taiwan\*(Aqs CNS map, plane 6 cns11643-7 /\ebCNS[-_ ]?11643[-_]7$/i Taiwan\*(Aqs CNS map, plane 7 cns11643-f /\ebCNS[-_ ]?11643[-_]f$/i Taiwan\*(Aqs CNS map, plane F euc-tw /\ebeuc.*tw$/i EUC (Extended Unix Character) /\ebtw.*euc$/i gb18030 /\ebGB[-_ ]?18030$/i GBK with Traditional Characters unisys /\ebunisys$/i Unisys Traditional Chinese unisys-sosi1 Unisys SOSI1 transport encoding unisys-sosi2 Unisys SOSI2 transport encoding .Ve
Detailed descriptions are as follows:
Please send me suggestions if you want to see more encoding added, such as \*(C`BIG5-GCCS\*(C' (superseded by \*(C`BIG5-HKSCS\*(C'). Other suggestions are welcome, too.
Map for \*(C`BIG5PLUS\*(C' is generated from the \s-1BIG52UCS.TXT\s0 file, courtesy of \s-1CMEX\s0 Taiwan (Chinese Microcomputer Extended Foundation, <http://www.cmex.org.tw/>).
Map for \*(C`BIG5-1984\*(C' is supplied by imacat.
Map for \*(C`CCCII\*(C' is supplied by the Koha Taiwan project.
This software is released under the \s-1MIT\s0 license cited below. Subsection "The MIT License" Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \*(L"Software\*(R"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
\s-1THE SOFTWARE IS PROVIDED \*(L"AS IS\*(R", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\s0