Ms7 Search
Google 搜尋 翻譯
calendar
« 九月 2024 »
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30            
近期文章
文章分類
網站連結
Syndicate

« | »

linux iconv 轉碼

2014-02-19 @ 11:43 in Linux

iconv---編碼轉換

用法: iconv [選項...] [文件...]

有如下選項可用:

輸入/輸出格式規範:
-f, --from-code=名稱 原始文本編碼
-t, --to-code=名稱 輸出編碼

信息:
-l, --list 列舉所有已知的字符集

輸出控制:
-c 從輸出中忽略無效的字符
-o, --output=FILE 輸出文件
-s, --silent 關閉警告
--verbose 打印進度信息

-?, --help 給出該系統求助列表
--usage 給出簡要的用法信息
-V, --version 打印程序版本號

例子:
iconv -c -f utf-8 -t gb2312 aaa.txt >bbb.txt
這個命令讀取aaa.txt文件,從utf-8編碼轉換為gb2312編碼,忽略無效的字符,其輸出定向到bbb.txt文件。

來自:http://www.cnblogs.com/morebetter/archive/2005/05/28/164099.html

迴響

linux iconv 轉碼 | 豬窩

Sweet blog! I found it while surfing around on Yahoo
News. Do you have any suggestions on how to get listed in Yahoo News?
I've been trying for a while but I never seem to get there!
Thanks

作者 foot pain after walking @ 15:48, 2017-07-02

linux iconv 轉碼 | 豬窩

You can certainly see your expertise in the work you write.
The world hopes for even more passionate writers such as
you who are not afraid to mention how they believe. Always go after your
heart.

作者 foot pain and swelling @ 19:21, 2017-07-02

linux iconv 轉碼 | 豬窩

Thanks for finally writing about >linux iconv 轉碼 | 豬窩

作者 foot pain identifier @ 19:52, 2017-07-02

linux iconv 轉碼 | 豬窩

Hello i am kavin, its my first time to commenting anyplace, when i read this post i thought
i could also make comment due to this good post.

作者 foot pain chart diagnosis @ 22:04, 2017-07-02

linux iconv 轉碼 | 豬窩

We are a group of volunteers and starting a brand new scheme in our community.
Your website offered us with helpful info to work on. You've performed a formidable process
and our whole neighborhood will be grateful to you.

作者 foot pain exercises pdf @ 04:27, 2017-07-03
發表迴響
 authimage