zsh-users
 help / color / mirror / code / Atom feed
From: Andy Spiegl <zsh.Andy@spiegl.de>
To: zsh-users@zsh.org
Subject: multibyte implementation (for filename completion with umlauts)
Date: Thu, 20 Sep 2018 12:14:03 +0200	[thread overview]
Message-ID: <20180920101403.unp6epfpqllzzqov@spiegl.de> (raw)

Another question from the past:  :-)

Back in 2011 we found that a filename with umlauts (öäü) can't be completed
case insensitively because zsh can't handle multibyte characters correctly
because it's a pretty complex issue:
 http://www.zsh.org/mla/users/2011/msg00015.html

Ever since then I live with it more or less happily.  All I could find
today in the docs is a TODO entry:
 * support for multibyte characters, including UTF-8

So I suppose the multibyte problem in the completion code is still there, right?

Actually, all I'd like to achieve is case insensitivity for umlauts like that:
 zstyle ':completion:*' matcher-list 'm:{A-ZÄÖÜa-zäöü}={a-zäöüA-ZÄÖÜ}

Any ideas?

Thanks so much!
 Andy

-- 
 The pre-release of the alpha for the forthcoming beta of the
 pre-build of the next point release should be out tonight.  (Graeme Devine)

             reply	other threads:[~2018-09-20 10:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-20 10:14 Andy Spiegl [this message]
2018-09-20 16:05 ` Daniel Shahaf
2018-09-25 16:47   ` Andy Spiegl
2018-09-25 19:15     ` Daniel Shahaf

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=20180920101403.unp6epfpqllzzqov@spiegl.de \
    --to=zsh.andy@spiegl.de \
    --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).