bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iconv: (stdin): cannot convert


From: Jürgen Kahrs
Subject: Re: iconv: (stdin): cannot convert
Date: Wed, 18 May 2005 21:55:08 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050414

Nedunchezhiyan, Sanjayan wrote:

> Im trying to convert ASCII code into CP1250,CP1252 and vice versa. I
> donwloaded the iconv exe file from the website and tried converting. I used

This sounds like you are working on an MS Windows
platform. Are you sure that downloading the iconv.exe
is really sufficient to get an iconv which is set up
correctly ? Usually there are conversion tables to
be installed separately.

> the following command :-
> 
> iconv -f CP1250 -t ASCII <sample.txt > asc.txt
> 
> in the command prompt. It is giving me the following error.
> 
> iconv: (stdin): cannot convert

I think iconv may have responded correctly.
Are you sure that your CP1250 content can
be expressed in ASCII ? Maybe you should
convert to UTF-8.

> I tried a simple file with english chars, then it is not throwing error but
> just replicating the same. Can you pls help me over what could be the
> problem.

This sounds like your iconv works correctly in principle.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]