From: Borsenkow Andrej <Andrej.Borsenkow@mow.siemens.ru>
To: "'Geoff Wing'" <gcw@zsh.org>, "'Zsh Hackers'" <zsh-workers@sunsite.dk>
Subject: RE: multibyte backwarddeletechar
Date: Mon, 22 Oct 2001 09:20:37 +0400 [thread overview]
Message-ID: <000001c15ab9$489f8cf0$21c9ca95@mow.siemens.ru> (raw)
In-Reply-To: <20011022105702.A4297@primenet.com.au>
>
> My first thought is whether it is meaningful to use multibyte glyphs
> on the command line. And it may well be if, say, people name files
using
> multibyte glyphs and other programs (e.g. ls) display those names.
Yes. We may argue that it is non-portable but you cannot force people to
use ASCII only.
> My second is whether we truly want to handle multibyte glyphs. I
don't
> think minihacks will work. It may be a major overhaul. Not just the
ZLE
> refresh code would need updating but other areas too.
Of course. The whole string handling in zsh must be rewritten. Even
globbing won't work properly any more (`?' is not expected to match more
than one byte and character classes stop working).
The problem is it does mean overhead. I am not sure about proper
implementation. Using wchar looks portable but the immediate problem is
that conventional str* functions stop working. Using UTF-8 is appealing
due to ASCII compatibility but then you get a problem converting from/to
external charset (that implies reimplementing iconv layer for systems
that do have it natively).
-andrej
next prev parent reply other threads:[~2001-10-22 5:21 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-21 15:42 Clint Adams
2001-10-21 17:13 ` Bart Schaefer
2001-10-21 18:21 ` Clint Adams
2001-10-22 0:57 ` Geoff Wing
2001-10-22 1:50 ` Clint Adams
2001-10-22 3:23 ` Geoff Wing
2001-10-22 11:27 ` Clint Adams
2001-10-22 5:20 ` Borsenkow Andrej [this message]
2001-10-22 11:32 ` Clint Adams
2001-10-22 12:02 ` Borsenkow Andrej
2001-10-24 13:57 ` Clint Adams
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='000001c15ab9$489f8cf0$21c9ca95@mow.siemens.ru' \
--to=andrej.borsenkow@mow.siemens.ru \
--cc=gcw@zsh.org \
--cc=zsh-workers@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).