// .TH gb\-to\-decimal 1 "16 may 97" // .IX gb\-to\-decimal // .\" See the copyright notice at the end of this file. // .SH Name // gb\-to\-decimal \- Convert GB chinese characters to decimal code // // .SH Syntax // .B gb\-to\-decimal // .R < // .I infile // .R > // .I outfile // // .SH Description // .B gb\-to\-decimal // reads a GB\-encoded Chinese text, replaces all ideograms by a decimal // number enclosed in guillemots. // .PP // Assumes the ideograms are encoded in the GB 2312\-80 EUC-compatible format, // where each ideogram consists of a row byte in the range 0xA1 to 0xF7 // and a column byte in the range 0xA1 to 0xFE. // .PP // .B gb\-to\-decimal // assumes also that any byte that is // not in GB encoding lies in the range 0x00 to 0xA0. // Such bytes are copied unchanged to the output // .SH Options // .PP // None. // .SH Bugs // Likely. // // .SH Author // Jorge Stolfi // // .\" // .\" (****************************************************************************) // .\" (* (C) Copyright 1992 Universidade Estadual de Campinas (UNICAMP) *) // .\" (* Campinas, SP, Brazil *) // .\" (* *) // .\" (* Author: *) // .\" (* *) // .\" (* Jorge Stolfi - CS Dept, UNICAMP *) // .\" (* *) // .\" (* This file can be freely distributed, modified, and used for any *) // .\" (* purpose, provided that this copyright and authorship notice is *) // .\" (* included in any copy or derived version of this file. *) // .\" (* *) // .\" (* DISCLAIMER: This software is offered ``as is'', without any guarantee *) // .\" (* as to fitness for any particular purpose. Neither the copyright *) // .\" (* holder nor the authors or their employers can be held responsible for *) // .\" (* any damages that may result from its use. *) // .\" (****************************************************************************) // .\" // .\" Last edited on 2002-02-20 16:23:19 by stolfi