iconv转换文件的字符集

2024阅读 0评论2010-07-25 greendays
分类:

iconv -f Unicode -t UTF-8 src.txt >> dest.txt
-f Unicode 源字符集
-t UTF-8     要修改的字符集
src.txt       要修改的文件


NAME
       iconv - Convert encoding of given files from one encoding to another

SYNOPSIS
       iconv -f encoding -t encoding inputfile

DESCRIPTION
       The iconv program converts the encoding of characters in inputfile from one coded character set to another. The result is written to standard output unless otherwise specified by
       the --output option.

       --from-code, -f encoding

       Convert characters from encoding

       --to-code, -t encoding

       Convert characters to encoding

       --list

       List known coded character sets

       --output, -o file

       Specify output file (instead of stdout)

       --verbose

       Print progress information.

AUTHOR
       iconv is written by Ulrich Drepper as part of the GNU C Library.

       This man page is written by Joel Klecker , for the Debian GNU/Linux system.

3rd Berkeley Distribution         March 2001                          ICONV(1)
上一篇:RAID详解[RAID0/RAID1/RAID10/RAID5]
下一篇:如何每行后回车一下