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 轉碼 | 豬窩

I was very happy to seek out this internet-site.I wished to
thanks in your time for this glorious read!!
I positively enjoying every little little bit of it and I've you
bookmarked to check out new stuff you weblog post.

作者 www.yesbd.net @ 01:40, 2017-05-18

linux iconv 轉碼 | 豬窩

We will also find ouut quick sequences that can bbe dance
alongsidee a rangge of music.

作者 Katherine @ 13:41, 2017-05-26

linux iconv 轉碼 | 豬窩

This paragraph is really a nice one it helps
new web people, who are wishing in favor of blogging.

作者 newest 10 inch balance scooter from China @ 10:49, 2017-06-12

linux iconv 轉碼 | 豬窩

Direct the scene time for your website to enable them to share their thoughts about your statement.
Dye-sublimation printing can be used in medical imaging, polyester fabric printing, and graphic proofing.
It was foreseen that the amount of 3D printers in homes and business establishments increase rapidly.

作者 www.pdgow.com @ 15:29, 2017-06-14

linux iconv 轉碼 | 豬窩

An outstanding share! I've just forwarded this onto a co-worker who was conducting
a little research on this. And he actually bought me lunch
simply because I stumbled upon it for him... lol. So let me
reword this.... Thanks for the meal!! But yeah, thanx for
spending the time to discuss this matter here on your site.

作者 cooperativebonf46.wordpress.com @ 17:38, 2017-06-27
1 2 3 4 5 6 7 8 9 10 11 12  下一篇»
發表迴響
 authimage