emacs-devel
[Top][All Lists]
Advanced

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

Re: ucs-normalize and diacritics


From: Robert Pluim
Subject: Re: ucs-normalize and diacritics
Date: Thu, 26 Jul 2018 22:40:04 +0200

Eli Zaretskii <address@hidden> writes:

>> From: Robert Pluim <address@hidden>
>> Cc: address@hidden
>> Date: Thu, 26 Jul 2018 10:40:45 +0200
>> 
>> How about something like:
>> 
>>   As a special case, if the character lies in the range #x3fff80
>> through #x3fff9a (128 through 159 decimal, with prefix #x3fff), it
>> stands for a raw byte that does not correspond to any specific
>> displayable character.  Such a character lies within the
>> @code{eight-bit-control} character set, and is displayed as an escaped
>> octal character code (0200 through 0237), or as an escaped hex
>> character code (x80 through x9a) if @code{display-raw-bytes-as-hex} is
>> address@hidden
>
> Thanks, but the original text was wrong in more than one sense, and
> needed a more thorough fix.  I pushed a fix, please see if the new
> text is clear and accurate.

It¼s clear, but it¼s not 100% accurate as far as I can tell:

- C-x = shows 'raw-byte', not 'raw byte'
- It doesn¼t show this for the whole range 0200 to 0377, only for 0240
  to 0377, eg for 0200:

Char: € (4194176, #o17777600, #x3fff80, file #x80) point=1 of 256
(0%) column=0

C-u C-x = gives:

             position: 1 of 256 (0%), column: 0
            character: € (displayed as €) (codepoint 4194176, #o17777600, 
#x3fff80)
    preferred charset: tis620-2533 (TIS620.2533)
code point in charset: 0x80
               syntax: w        which means: word
             category: L:Left-to-right (strong)
             to input: type "C-x 8 RET 3fff80"
          buffer code: #x80
            file code: #x80 (encoded by coding system raw-text-unix)
              display: no font available

Character code properties: customize what to show
  general-category: Cn (Other, Not Assigned)
  decomposition: (4194176) ('€')


Regards

Robert



reply via email to

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