LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-01-2008, 05:34 AM   #1
linuxtyh
LQ Newbie
 
Registered: Dec 2006
Location: Hangzhou,Zhejiang,China
Distribution: Ubuntu, ArchLinux, SunSolaris
Posts: 12

Rep: Reputation: 0
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?
 
Old 12-01-2008, 05:57 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
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).
 
Old 12-02-2008, 01:24 AM   #3
linuxtyh
LQ Newbie
 
Registered: Dec 2006
Location: Hangzhou,Zhejiang,China
Distribution: Ubuntu, ArchLinux, SunSolaris
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by bathory View Post
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apache: http://localhost (work) http://ipaddress (not working) sarmad Linux - Newbie 7 02-05-2013 07:47 AM
yum, rpm cmd , ftp , wget ..nothing is working :'( rajashree Other *NIX 1 02-02-2007 03:52 AM
Problems with Samba: http://localhost:901 doesn't work lagu2653 Linux - Networking 5 06-29-2005 03:13 PM
apache http://localhost/mysite ---> http://localhost/mysite/index.php how? ilnli Linux - General 8 06-04-2005 03:23 PM
http://localhost does not work! Rajasekhar Atte Linux - Networking 1 12-17-2001 03:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration