// .TH gb\-to\-decimal 1 "16 may 97" // .IX gb\-to\-decimal // .\" See the copyright notice at the end of this file. // .SH Name // spread\-chinese\-text \- Insert spaces around Chinese characters // // .SH Syntax // .B spread\-chinese\-text // .R < // .I infile // .R > // .I outfile // // .SH Description // .B spread\-chinese\-text // reads a Chinese text in EUC-compatible format, where each Chinese // character is represented by a pair of bytes, the first one being in the range 0x80 to 0xFF. // It inserts ASCII spaces as needed so that there is at least one space // before and one space after each Chinese character. // .PP // .B spread\-chinese\-text // assumes also that any byte that is // not in GB encoding lies in the range 0x00 to 0x7F. // 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-21 10:57:07 by stolfi