zsh-workers
 help / color / mirror / code / Atom feed
* [BUG] multibyte never set according to setopt/unsetopt output
@ 2023-12-20 16:04 Mark J. Reed
  2023-12-20 16:22 ` Peter Stephenson
  0 siblings, 1 reply; 11+ messages in thread
From: Mark J. Reed @ 2023-12-20 16:04 UTC (permalink / raw)
  To: zsh-workers

[-- Attachment #1: Type: text/plain, Size: 424 bytes --]

5.9, running on macOS. zsh fires up with multibyte enabled by default,
which is visible in the way it handles multibyte characters (e.g. x=ā; echo
$#x shows 1). I can turn the option off, and the behavior changes (e.g. the
same parameter has a length of 2).

But `unsetopt` always shows `nomultibyte`, and `setopt` never shows
`multibyte`, regardless of the actual setting.

--
Mark J. Reed <markjreed@gmail.com>

[-- Attachment #2: Type: text/html, Size: 760 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-01-20 22:28 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-20 16:04 [BUG] multibyte never set according to setopt/unsetopt output Mark J. Reed
2023-12-20 16:22 ` Peter Stephenson
2023-12-20 16:44   ` Bart Schaefer
2023-12-20 16:54     ` Mikael Magnusson
2023-12-20 16:55     ` Peter Stephenson
2023-12-20 17:06       ` Mikael Magnusson
2023-12-20 17:30         ` Peter Stephenson
2023-12-20 17:40           ` Mikael Magnusson
2024-01-19 15:02             ` Mark J. Reed
2024-01-20 22:27               ` Bart Schaefer
2023-12-20 16:59   ` Mikael Magnusson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).