emacs-pretest-bug
[Top][All Lists]
Advanced

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

dired can't display UTF-8 characters in monthname


From: Peter Dyballa
Subject: dired can't display UTF-8 characters in monthname
Date: Tue, 19 Apr 2005 23:06:34 +0200

Hello!

When I dired a directory with files from March I see something like this:

  -rw-r--r--    1 pete  pete    2688  7 Mär 16:19 slh-inst.log

ls correctly displays:

  -rw-r--r--  1 pete  pete   46251  7 Mär 16:19 slh-inst.log

C-u C-x = on the defective monthname reveals:

  character: M (0115, 77, 0x4d, U+004D)
    charset: ascii (ASCII (ISO646 IRV))
 code point: 77
     syntax: w  which means: word
   category: a:ASCII   l:Latin
buffer code: 0x4D
  file code: 0x4D (encoded by coding system mule-utf-8)
    display: by this font (glyph code)
-B&H-LucidaTypewriter-Medium-R-Normal-Sans-10-100-75-75-M-60-ISO8859-1 (0x4D)

  character: Ã (0303, 195, 0xc3)
    charset: eight-bit-graphic (8-bit graphic char (0xA0..0xFF))
 code point: 195
     syntax:    which means: whitespace
buffer code: 0xC3
  file code:  (encoded by coding system mule-utf-8)
    display: by display table entry [?Ã] (see below)

The display table entry is displayed by these fonts (glyph codes):
Ã: -B&H-LucidaTypewriter-Medium-R-Normal-Sans-10-100-75-75-M-60-ISO8859-1 (0xC3)

  character: ¤ (0244, 164, 0xa4)
    charset: eight-bit-graphic (8-bit graphic char (0xA0..0xFF))
 code point: 164
     syntax:    which means: whitespace
buffer code: 0xA4
  file code: 0xA4 (encoded by coding system mule-utf-8)
    display: by display table entry [?¤] (see below)

The display table entry is displayed by these fonts (glyph codes):
¤: -B&H-LucidaTypewriter-Medium-R-Normal-Sans-10-100-75-75-M-60-ISO8859-1 (0xA4)

  character: r (0162, 114, 0x72, U+0072)
    charset: ascii (ASCII (ISO646 IRV))
 code point: 114
     syntax: w  which means: word
   category: a:ASCII   l:Latin
buffer code: 0x72
  file code: 0x72 (encoded by coding system mule-utf-8)
    display: by this font (glyph code)
-B&H-LucidaTypewriter-Medium-R-Normal-Sans-10-100-75-75-M-60-ISO8859-1 (0x72)

ls delivers for M and r the same as dired does, the ä is:

  character: ä (04344, 2276, 0x8e4, U+00E4)
charset: latin-iso8859-1 (Right-Hand Part of Latin Alphabet 1 (ISO/IEC 8859-1): ISO-IR-100.)
 code point: 100
     syntax: w  which means: word
   category: l:Latin
buffer code: 0x81 0xE4
  file code: not encodable by coding system undecided-unix
    display: by this font (glyph code)
-B&H-LucidaTypewriter-Medium-R-Normal-Sans-10-100-75-75-M-60-ISO8859-1 (0xE4)



In GNU Emacs 22.0.50.1 (powerpc-apple-darwin7.8.0, X toolkit, Xaw3d scroll bars)
 of 2005-04-16 on localhost
Distributor `The XFree86 Project, Inc', version 11.0.40300000
configured using `configure '--without-carbon' '--with-x' '--without-pop' '--with-xpm' '--with-jpeg' '--with-tiff' '--with-png' '--with-gif' '--with-x-toolkit=lucid' 'CFLAGS=-I/sw/include' 'CPPFLAGS=-I/sw/include' 'LDFLAGS=-L/sw/lib''

Important settings:
  value of $LC_ALL: de_DE.UTF-8
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: de_DE.UTF-8
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: de_DE.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: Dired by date

Minor modes in effect:
  TeX-PDF-mode: t
  desktop-save-mode: t
  auto-compression-mode: t
  display-time-mode: t
  mouse-sel-mode: t
  show-paren-mode: t
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t
  next-error-follow-minor-mode:  Fol


--
Greetings

  Pete





reply via email to

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