Re: iconv and UTF-8 encoding
On Tue, Feb 04, 2003 at 08:45:29PM -0500, Nori Heikkinen wrote:
> i'm trying to read a file that i'm told is encoded in UTF-8. the
> output of "file" on it says "Non-ISO extended-ASCII English text"
> (it's not actually english, but that doesn't matter). I can't read it
> as is, so i'm trying to convert it to ISO-8859-1 or whatever the
> standard is that i'm used to with iconv.
>
> following the manpage, i get this:
>
> iconv -f UTF-8 -f ISO_8859-1 stream.lower.ir > new_file.txt
I do:
$ iconv -f UTF-8 -f ISO-8859-1 stream.lower.ir > new_file.txt
^
Try konwert too. It guess encoding too.
> but this still appears with unreadable characters.
>
> does this mean that the file i'm trying to read from isn't actually
> UTF-8? how do i find out what it is, if it's not?
Show us how high bit codes are :)_
--
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ +++++
Osamu Aoki <osamu@debian.org> Cupertino CA USA, GPG-key: A8061F32
.''`. Debian Reference: post-installation user's guide for non-developers
: :' : http://qref.sf.net and http://people.debian.org/~osamu
`. `' "Our Priorities are Our Users and Free Software" --- Social Contract
Reply to: