emacs-devel
[Top][All Lists]
Advanced

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

Re: [Unicode-2] euro sign disappears


From: Robert J. Chassell
Subject: Re: [Unicode-2] euro sign disappears
Date: Fri, 16 Nov 2007 12:41:00 +0000 (UTC)

Katsumi Yamaoka <address@hidden> said

    I found strange behaviors of Emacs Unicode-2 when displaying the
    euro sign.  ...

    (insert (make-char 'latin-iso8859-15 164))

Weirdly enough, in a non-unicode-2 instance of Emacs

    Today's GNU Emacs CVS snapshot, Fri, 2007 Nov 16  10:51 UTC
    GNU Emacs 23.0.50.5 (i686-pc-linux-gnu, GTK+ Version 2.12.1)
    started with

        emacs -q -D

in the *mail* buffer, I was able to evoke a Euro sign using that
expression after inserting it.  Also, I could see the Euro symbol when
I evoked that expression in a nonce buffer and `C-u C-x ='
(`what-cursor-position' with an argument) said:

      character: € (3876, #o7444, #xf24, U+20AC)
        charset: latin-iso8859-15
                 (Right-Hand Part of Latin Alphabet 9 (ISO/IEC 8859-15):
                  ISO-IR-203.)
     code point: #x24
         syntax: w      which means: word
       category: l:Latin
    buffer code: #x8E #xA4
      file code: not encodable by coding system iso-latin-1
        display: by this font (glyph code)
         -Adobe-Courier-Medium-R-Normal--18-180-75-75-M-110-ISO8859-15 (#xA4)

However, I put that same expression,
    (insert (make-char 'latin-iso8859-15 164))
in my .emacs file (which was not evaluated), evaluated the Euro sign
expression only, and saw \244.  `C-u C-x =' says

      character: ¤ (164, #o244, #xa4)
        charset: eight-bit-graphic (8-bit graphic char (0xA0..0xFF))
     code point: #xA4
         syntax:        which means: whitespace
    buffer code: #xA4
      file code: #xA4 (encoded by coding system utf-8)
     display: by this font (glyph code)
         -Adobe-Courier-Medium-R-Normal--17-120-100-100-M-100-ISO8859-1 (#xA4)

-- 
    Robert J. Chassell                          GnuPG Key ID: 004B4AC8
    address@hidden                         address@hidden
    http://www.rattlesnake.com                  http://www.teak.cc




reply via email to

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