zsh-workers
 help / color / mirror / code / Atom feed
* [BUG] zformat -f has no multibyte support
@ 2019-12-23 22:24 zsugabubus
  2019-12-24 20:23 ` Daniel Shahaf
  0 siblings, 1 reply; 5+ messages in thread
From: zsugabubus @ 2019-12-23 22:24 UTC (permalink / raw)
  To: zsh-workers

Hi,

  $ setopt multibyte
  $ zformat -f X '%-3s' 's:ő'; echo $X
  "ő"
  $ zformat -f X '%.1s' 's:ő'; echo $X
  (garbage)
  $ zformat -f X '%-3s' 's:o'; echo $X
  "  o"

--
zsugabubus

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

end of thread, other threads:[~2019-12-26 11:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-23 22:24 [BUG] zformat -f has no multibyte support zsugabubus
2019-12-24 20:23 ` Daniel Shahaf
2019-12-26  4:35   ` dana
2019-12-26  5:04     ` Daniel Shahaf
2019-12-26 11:28       ` Daniel Shahaf

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).