From: Peter Stephenson <pws@csr.com>
To: zsh-users@sunsite.dk
Subject: Re: Wrong UTF-8-characters in prompt
Date: Tue, 11 Oct 2005 17:42:33 +0100 [thread overview]
Message-ID: <EXCHANGE03qjJny7v35000048b4@exchange03.csr.com> (raw)
In-Reply-To: <200510112032.42671.arvidjaar@newmail.ru>
Andrey Borzenkov wrote:
> On Tuesday 11 October 2005 13:33, Stephan Windm=C3=BCller wrote:
> > When I change into a directory which contains UTF-8-characters, the
> > prompt looks garbled:
> >
> > windy@zerus:~$ echo $LANG
> > de_DE.UTF-8
> > windy@zerus:~$ mkdir =C3=84rzte
> > windy@zerus:~$ ls =C3=84rzte -d
> > =C3=84rzte
> > windy@zerus:~$ cd =C3=84rzte
> > windy@zerus:~/\M-C\M-^Drzte$
> >
> > I'm using the CVS-code of 2005/10/04 on Debian Sarge. Is this a bug of
> > zsh or do I have to change the prompt?
> >
>
> For now use "setopt printeightbit" but it is obviously a bug - zsh should
> not rely on it in multibyte environment.
It doesn't any more as long as the (wide) character is printable, and if
--enable-multibyte is in effect it should show unprintable wide characters
in \u or \U format rather than \M format. I rather suspect multibyte
support isn't enabled.
pws
This message has been scanned for viruses by BlackSpider MailControl - www.blackspider.com
next prev parent reply other threads:[~2005-10-11 16:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-11 9:33 Stephan Windmüller
2005-10-11 16:32 ` Andrey Borzenkov
2005-10-11 16:42 ` Peter Stephenson [this message]
2005-10-11 17:01 ` Andrey Borzenkov
2005-10-12 9:35 ` Peter Stephenson
2005-10-12 19:39 ` Stephan Windmüller
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=EXCHANGE03qjJny7v35000048b4@exchange03.csr.com \
--to=pws@csr.com \
--cc=zsh-users@sunsite.dk \
/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).