linux iconv 轉碼
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
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.
linux iconv 轉碼 | 豬窩
Thanks for finally writing about >linux iconv 轉碼 | 豬窩
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.
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.