zsh-workers
 help / color / mirror / code / Atom feed
* print -v with multibyte characters
@ 2020-02-20 19:03 zsugabubus
  2020-02-20 22:58 ` Mikael Magnusson
  0 siblings, 1 reply; 8+ messages in thread
From: zsugabubus @ 2020-02-20 19:03 UTC (permalink / raw)
  To: zsh-workers

Hi,

  $ echo $ZSH_VERSION
  5.7.1
  $ export {LC_ALL,LANG}=en_US.UTF-8
  $ set -o multibyte && echo ok
  ok

Good:
  $ print ÖÓŐöóő
  ÖÓŐöóő
  $ printf -v var ÖÓŐöóő; echo $var
  ÖÓŐöóő

Bad:
  $ print -v var ÖÓŐ; echo $var
  öó
  $ print -v var öóő; echo $var
  öóŃ

--
zsugabubus

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

end of thread, other threads:[~2020-08-12  9:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-20 19:03 print -v with multibyte characters zsugabubus
2020-02-20 22:58 ` Mikael Magnusson
2020-08-05 16:13   ` Mikael Magnusson
2020-08-06  6:51     ` Daniel Shahaf
2020-08-07 10:10     ` Jun T
2020-08-07 22:29       ` PATCH: Test for print -v fix Mikael Magnusson
2020-08-11  4:34         ` Jun T
2020-08-12  9:45           ` 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).