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

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

Re: default value of terminal-coding-system


From: Peter Dyballa
Subject: Re: default value of terminal-coding-system
Date: Fri, 25 Mar 2005 01:53:23 +0100


Am 24.03.2005 um 18:00 schrieb Stefan:

So, which terminal-coding-system should we set by default when LANG is
de_DE.UTF-8(en_US.UTF-8), iso-latin-1 or utf-8?

At least on reasonably recent xterms, it needs to be utf-8.
On older xterms, I'd expect people don't use a utf-8 locale anyway.
How 'bout the patch below?


Very good! I can see my UTF-8 file name in dired-more! The scratch buffer is better that xterm itself: the upper case umlauts the Terminal test display in scratch but not in xterm! There is only one little curiosity: the file's name ends far out:

TIFF image



This happens with other names with umlauts too, but not when the file's date contains the monthname 'Mär.' In this case the cursor finds the end position on the line-feed. It happens with other accented characters too, it seems that every such character is thought being two ... because:

the dired buffer's modeline starts with -uuu:
C-u C-x = on ä in the month's name Mär 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: 0xC3 0xA4 (encoded by coding system mule-utf-8)
            display: terminal code 0xC3 0xA4
        
the ä in the file's name can't be found with C-s and *is* different:
        
          character: a (0141, 97, 0x61, U+0061)
            charset: ascii (ASCII (ISO646 IRV))
         code point: 97
             syntax: w  which means: word
           category: a:ASCII   l:Latin
        buffer code: 0x61
          file code: 0x61 (encoded by coding system mule-utf-8)
            display: terminal code 0x61
        
plus, when already on the next visible character:
        
character: ̈̈ (01211310, 332488, 0x512c8, U+0308) <== comb. diacr. mark "comb. diaer." charset: mule-unicode-0100-24ff (Unicode characters of the range U+0100..U+24FF.)
         code point: 37 72
             syntax: w  which means: word
           category: ^:Combining diacritic or mark
        buffer code: 0x9C 0xF4 0xA5 0xC8
          file code: 0xCC 0x88 (encoded by coding system mule-utf-8)
            display: terminal code 0xCC 0x88
        
--
Greetings

  Pete


reply via email to

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