[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#30218: 27.0.50; Possibly incorrect statement in manual about string
From: |
Eli Zaretskii |
Subject: |
bug#30218: 27.0.50; Possibly incorrect statement in manual about string equality |
Date: |
Fri, 26 Jan 2018 12:39:29 +0200 |
> From: Philipp <p.stephani2@gmail.com>
> Date: Mon, 22 Jan 2018 23:50:16 +0100
>
>
> The manual says in the section "Equality Predicates":
>
> For technical reasons, a unibyte string
> and a multibyte string are ‘equal’ if and only if they contain the
> same sequence of character codes and all these codes are either in
> the range 0 through 127 (ASCII) or 160 through 255
> (‘eight-bit-graphic’).
>
> However, that doesn't seem to be the case:
>
> (equal (string #xA0) (unibyte-string #xA0)) => nil
> (equal (string #x3FFFA0) (unibyte-string #xA0)) => nil
Thanks, fixed.