From: Pascal Bourguignon <spam@mouse-potato.com>
Subject: Re: how to change file coding system
Date: Fri, 12 Aug 2005 14:32:53 +0200 [thread overview]
Message-ID: <87k6iribd6.fsf@thalassa.informatimago.com> (raw)
In-Reply-To: mailman.3519.1123846596.20277.help-gnu-emacs@gnu.org
Eli Zaretskii <eliz@gnu.org> writes:
> 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?
It's rather hard. If you include control codes both in the rows 0&1
and 8&9, then Latin-1 uses the whole 256 codes.
NUL SOH STX ETX EOT ENQ ACK BEL BS TAB LF VT FF CR SO SI
DLE DC1 DC2 DC3 DC4 NAK SYN ETB CAN EM SUB ESC FS GS RS US
SP ! " # $ % & ' ( ) * + , - . /
0 1 2 3 4 5 6 7 8 9 : ; < = > ?
@ A B C D E F G H I J K L M N O
P Q R S T U V W X Y Z [ \ ] ^ _
` a b c d e f g h i j k l m n o
p q r s t u v w x y z { | } ~ DEL
PAD HOP BPH NBH IND NEL SSA ESA HTS HTJ VTS PLD PLU RI SS2 SS3
DCS PU1 PU2 STS CCH MW SPA EPA SOS SGCI SCI CSI ST OSC PM APC
¡ ¢ £ ¤ ¥ ¦ § ¨ © ª « ¬ ® ¯
° ± ² ³ ´ µ ¶ · ¸ ¹ º » ¼ ½ ¾ ¿
À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï
Ð Ñ Ò Ó Ô Õ Ö × Ø Ù Ú Û Ü Ý Þ ß
à á â ã ä å æ ç è é ê ë ì í î ï
ð ñ ò ó ô õ ö ÷ ø ù ú û ü ý þ ÿ
> 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.
Or use:
od -t x1 -t c example.c
--
__Pascal Bourguignon__ http://www.informatimago.com/
Cats meow out of angst
"Thumbs! If only we had thumbs!
We could break so much!"
next prev parent reply other threads:[~2005-08-12 12:32 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-12 8:34 how to change file coding system Martin Monsorno
2005-08-12 11:30 ` Eli Zaretskii
[not found] ` <mailman.3519.1123846596.20277.help-gnu-emacs@gnu.org>
2005-08-12 12:32 ` Pascal Bourguignon [this message]
2005-08-12 15:04 ` Eli Zaretskii
2005-08-12 15:36 ` Peter Dyballa
2005-08-12 13:33 ` Martin Monsorno
2005-08-12 15:06 ` Eli Zaretskii
2005-08-12 15:52 ` Pascal Bourguignon
2005-08-12 16:33 ` Joe Corneli
[not found] ` <mailman.3561.1123859480.20277.help-gnu-emacs@gnu.org>
2005-08-16 9:22 ` Martin Monsorno
2005-08-16 11:20 ` Peter Dyballa
2005-08-17 4:07 ` Eli Zaretskii
[not found] ` <mailman.3911.1124191758.20277.help-gnu-emacs@gnu.org>
2005-08-17 9:20 ` Martin Monsorno
2005-08-17 12:22 ` Martin Monsorno
2005-08-17 19:09 ` Peter Dyballa
[not found] ` <mailman.4075.1124306087.20277.help-gnu-emacs@gnu.org>
2005-08-18 8:40 ` Martin Monsorno
2005-08-18 11:37 ` Peter Dyballa
[not found] ` <mailman.4171.1124367223.20277.help-gnu-emacs@gnu.org>
2005-08-19 10:20 ` Martin Monsorno
2005-08-19 13:24 ` Peter Dyballa
[not found] ` <mailman.4307.1124458248.20277.help-gnu-emacs@gnu.org>
2005-08-23 9:20 ` Martin Monsorno
[not found] ` <mailman.4004.1124251989.20277.help-gnu-emacs@gnu.org>
2005-08-17 9:26 ` Martin Monsorno
2005-08-17 18:23 ` Eli Zaretskii
[not found] ` <mailman.4071.1124303238.20277.help-gnu-emacs@gnu.org>
2005-08-18 8:05 ` Martin Monsorno
2005-08-19 8:14 ` Eli Zaretskii
2005-08-23 21:23 ` Jason Rumney
2005-08-25 7:52 ` Martin Monsorno
2005-08-25 22:18 ` Peter Dyballa
[not found] ` <mailman.5086.1125044809.20277.help-gnu-emacs@gnu.org>
2005-08-26 9:52 ` Martin Monsorno
2005-08-26 10:48 ` Peter Dyballa
2005-08-26 18:12 ` Kevin Rodgers
2005-08-26 18:56 ` Peter Dyballa
2005-08-26 9:59 ` Reiner Steib
2005-08-29 0:51 ` Jason Rumney
2005-08-31 8:46 ` Martin Monsorno
2005-08-31 9:18 ` Martin Monsorno
2005-08-31 9:56 ` Reiner Steib
2005-09-08 15:21 ` Martin Monsorno
2005-08-31 9:55 ` Reiner Steib
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k6iribd6.fsf@thalassa.informatimago.com \
--to=spam@mouse-potato.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.