zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Pier Paolo Grassi <pierpaolog@gmail.com>
Cc: Zsh-Users List <zsh-users@zsh.org>
Subject: Re: problem with multi-byte character on command line (zsh v 5.8)
Date: Wed, 18 May 2022 21:05:58 -0700	[thread overview]
Message-ID: <CAH+w=7arz+0RtBkFsRYH0iwsodsUuJ1ZfeEExqDhuimrYbmXOA@mail.gmail.com> (raw)
In-Reply-To: <CAP+y1xAYVyvbM07nQsByp9su=+LUROjfiAsqyPK+c0gu3QjUOg@mail.gmail.com>

On Wed, May 18, 2022 at 1:11 PM Pier Paolo Grassi <pierpaolog@gmail.com> wrote:
>
> Just tried an ubuntu 18.04 with zsh 5.4.2 (x86_64-ubuntu-linux-gnu)
> and I am able to reproduce.

At least that rules out musl libc.

On Wed, May 18, 2022 at 1:12 PM Pier Paolo Grassi <pierpaolog@gmail.com> wrote:
>
> For the locale I have tried en_US.utf8 and it_IT.utf8, can you share yours?

I'm using LANG=en_US.utf8 ... I don't have Italian locales installed.
I have not tried changing the locale variables other than LANG, should
I?  Or perhaps you need to provide more specific instructions.

I've tried Gnome terminal and xterm.  xterm is not able to display the
glyph at all (I just get a 2-position-wide box) but I am able to move
the cursor back and forth past it and insert single-byte characters
anywhere around it.

This is with the stock Ubuntu zsh 5.8 and with 5.9 built from git
clone.  I've also tried inserting the character into the line editor
both with copy-paste from your original email and with `print -z
$'\xf0\x9f\x8d\xbe'`


  reply	other threads:[~2022-05-19  4:07 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-18 17:30 Pier Paolo Grassi
2022-05-18 18:54 ` Bart Schaefer
2022-05-18 19:40   ` Pier Paolo Grassi
2022-05-18 19:55     ` Bart Schaefer
2022-05-18 20:10       ` Pier Paolo Grassi
2022-05-18 20:12         ` Pier Paolo Grassi
2022-05-19  4:05           ` Bart Schaefer [this message]
2022-05-19  8:59 ` Roman Perepelitsa
2022-05-19 14:01   ` Pier Paolo Grassi
2022-05-19 14:11     ` Roman Perepelitsa
2022-05-19 14:12       ` Pier Paolo Grassi
2022-05-19 14:23       ` Ray Andrews
2022-05-19 14:26         ` Roman Perepelitsa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAH+w=7arz+0RtBkFsRYH0iwsodsUuJ1ZfeEExqDhuimrYbmXOA@mail.gmail.com' \
    --to=schaefer@brasslantern.com \
    --cc=pierpaolog@gmail.com \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).