Eli Zaretskii <[EMAIL PROTECTED]> 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!"
_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Reply via email to