*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> sconv (1)              
Title
Content
Arch
Section
 

Contents


 sconv(1)                                                           sconv(1)
 HP-UX                                                                 HP-UX





 NAME    [Toc]    [Back]
      sconv - hp9000 utility for Simplified-Chinese code code-converter

 SYNOPSIS    [Toc]    [Back]
      sconv

      sconv

      sconv num infile outfile

      sconv -n num -f file_of_namelist

 DESCRIPTION    [Toc]    [Back]
      sconv is used to do code conversion from GB internal code to
      Big5/Unicode(UCS2 or UTF8) internal code and vice versa, also from
      Big5 internal code to GBK code and vice versa.

      It provides three processing modes.


      Mode (1) : sconv

      The first one is an interactive menu mode. Just invoke the command.
      It will display the main menu, and prompt you for which kind of code
      conversion you need(whether it is from GB to Big5, GB to Unicode, or
      Big5 to GBK). And then, it will prompt you for your input filename and
      output filename.


      Mode (2) : sconv num infile outfile

      The second is used to convert one GB or Big5 code text file to the
      other code type text file in command mode. The infile stands for the
      input filename, outfile for output filename. And num is the selection
      number you can find out from the interactive menu mode. Below is the
      description of them :

      num = 1 : From GB code to Big5 code.
            2 : From GB code to Unicode's Canonical Form(UCS2).
            3 : From Big5 code to GB code.
            4 : From Unicode's Canonical Form(UCS2) to GB code.
            5 : From Big5 code to GBK code.
            6 : From GBK code to Big5 code.
            7 : From GB code to Universal Trans. Format-8(UTF8).
            8 : From Universal Trans. Format-8(UTF8) to GB code.


      Mode (3) : sconv -n num -f file_of_namelist




                                    - 1 -       Formatted:  January 24, 2005






 sconv(1)                                                           sconv(1)
 HP-UX                                                                 HP-UX





      The third is used to convert many files with one sconv 1 command. You
      have to create a file with all the filenames you want to convert.  Let
      the file name be file_of_namelist , and the format of the file is :

          <file1>
          <file2>
          <file3>
          .
          .
          .
          <EOF>

      Then use the command to convert all those files in batch mode. Also,
      same as Mode (2), num is the selection number you can find from the
      interactive menu mode. Notice that you can only do one kind of
      conversion to all the files in file_of_namelist , and there is no
      output filenames, all the files will be put into original file names
      which you specify in file_of_namelist.

 EXAMPLE    [Toc]    [Back]
      sconv 2 file_in file_out , converts a text file from Big5 to GB

      sconv -n 2 -f file_list , converts all the files in file_list from
      Big5 to GB


 NOTICE    [Toc]    [Back]
      By default, sconv maps non-mapped characters to spaces.

 LOG FILE    [Toc]    [Back]
      /tmp/sconv.log

 AUTHOR    [Toc]    [Back]
      sconv was developed by AAA/TC-ESG. May 1998


                                    - 2 -       Formatted:  January 24, 2005
[ Back ]
 Similar pages
Name OS Title
tconv HP-UX HP 9000 Traditional-Chinese code converter
coco Tru64 code converter for any of Mule's code
dxim Tru64 A multilingual input server for Simplified Chinese, Traditional Chinese, Korean, and Phrase input me...
iconv IRIX code set conversion utility
coder HP-UX HP EUC-CNS code reference utility
big5udfdown HP-UX UDF download utility for big5 code
ccdcudfdown HP-UX UDF download utility for ccdc code
dmFS1016Encode IRIX implements the US Federal Standard 1016 4800/7200/9600 bits/s CELP (Code Excited Linear Predictive) Voice Code
dmFS1016Decode IRIX implements the US Federal Standard 1016 4800/7200/9600 bits/s CELP (Code Excited Linear Predictive) Voice Code
xsubpp OpenBSD compiler to convert Perl XS code into C code
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service