[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to change file coding system
From: |
Eli Zaretskii |
Subject: |
Re: how to change file coding system |
Date: |
Fri, 12 Aug 2005 14:30:27 +0300 |
> From: Martin Monsorno <mmonsorno@gmx-gmbh.de>
> Date: Fri, 12 Aug 2005 10:34:31 +0200
>
> I have a c-file which file (the command) claims to be a "UTF-8 Unicode
> C program text". Now I want to make it a 8859 file, so in the emacs
> buffer visiting it I say:
> C-x <RET> f iso-8859-1-unix <RET>
> and
> C-x C-s
That is the right way.
> Afterwards, file (the command) says the same as before. Did I miss
> something?
Do you have a reason to believe `file' more than you believe Emacs?
That is, is it possible that `file' lies? Can you find a character in
the file after translation that is not Latin-1, and if you can, what
is that character?
One possibility is that you have in that file a character whose code
is outside the valid range of Latin-1 codepoints. But that's a wild
guess, you need to find such a character and type "C-u C-x =" with the
cursor on it, to see what it is.
- how to change file coding system, Martin Monsorno, 2005/08/12
- Re: how to change file coding system,
Eli Zaretskii <=
- Message not available
- Message not available