Subject: bug#53260: char-syntax differs in interpreter and bytecode [PATCH]

From: Mattias Engdegård <[email-masked]>
Date: Sun, 16 Jan 2022 12:04:51 +0100

15 jan. 2022 kl. 23.51 skrev Stefan Monnier <[email-masked]>:

> Doesn't sound right: char tables are indexed by chars (i.e. Unicode code
> points) not by bytes, so we need to convert the byte into a char
> before indexing.

Sure, I'm happy to do it either way. Chars retrieved from unibyte buffers or strings really should be converted to multibyte before used with char-syntax; unibyte buffers are not very common but strings slightly more so.