Iconv Command

cat /tmp/test |iconv -f big5 -t gb2312
cat /tmp/test |iconv -f big5 -t utf8

1st line: Change the coding big5 to gb2312 for the test file content
2nd line: Change the coding big5 to UTF8(big5) for the test file content

cat /tmp/test |iconv -f gb2312 -t big5
cat /tmp/test |iconv -f gb2312 -t utf8

1st line: Change the coding gb2312 to big5 for the test file content
2nd line: Change the coding gb2312 to UTF8(gb2312) for the test file content

cat /tmp/test |iconv -f utf8 -t big5 |iconv -f big5 -t gb2312 |iconv -f gb2312 -t utf8

Change the coding UTF8(big5) to UTF8(gb2312) for the test file content

cat /tmp/test |iconv -f utf8 -t gb2312 |iconv -f gb2312 -t big5 |iconv -f big5 -t utf8

Change the coding UTF8(gb2312) to UTF8(big5) for the test file content



Server is hosted by Alanstudio
Linux Operating System

Recommend screen resolution 1024 x 768 / IE / FireFox
Alan Studio © 2007 by Alan Cheung Hin Lun. All rights reserved.