LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   this shell cmd doesn't work : wget 'http://localhost' -O -|iconv -f GB1321 -t UTF8 (https://www.linuxquestions.org/questions/linux-general-1/this-shell-cmd-doesnt-work-wget-http-localhost-o-%7Ciconv-f-gb1321-t-utf8-687434/)

linuxtyh 12-01-2008 05:34 AM

this shell cmd doesn't work : wget 'http://localhost' -O -|iconv -f GB1321 -t UTF8
 
wget 'http://localhost' -O -|iconv -f GB1321 -t UTF8


why this doesn't work?

how to change it?

bathory 12-01-2008 05:57 AM

The input charset (GB1321) is not supported by iconv. Run
Code:

iconv -l
to see the supported charsets and choose one that is suitable for you (maybe GB2312).

linuxtyh 12-02-2008 01:24 AM

Quote:

Originally Posted by bathory (Post 3360345)
The input charset (GB1321) is not supported by iconv. Run
Code:

iconv -l
to see the supported charsets and choose one that is suitable for you (maybe GB2312).

Hi bathory
thank you for your suggest
and you are right
it should be GB2312
thank you
Frederic Tang


All times are GMT -5. The time now is 09:47 PM.