zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: ismail@namtrac.org, zsh workers <zsh-workers@sunsite.dk>
Subject: Re: Problems with non-ascii filenames
Date: Sat, 28 Feb 2009 10:22:50 -0800	[thread overview]
Message-ID: <090228102250.ZM3434@torch.brasslantern.com> (raw)
In-Reply-To: <19e566510902280137s3bb02510te650364cb03145a9@mail.gmail.com>

On Feb 28, 11:37am, Ismail wrote:
} 
} Using latest zsh CVS on OSX 10.5.6, observe :
} 
} [~]> touch xÃÃÃx
} 
} [~]> echo xo<0308>o<0308>o<0308>x
} xÃÃÃx
} 
} Somehow "Ã" character is replaced by <0308> while tab completing. Any
} help is appreciated.

The multibyte character handling on OSX appears to be particularly
sensitive to the LANG setting (see my previous mail to Wolfgang).
At the same time, OSX doesn't appear to export a LANG value (or at
least it doesn't on my iMac at work).

I can't precisely reproduce the above; I get things like

schaefer<263> touch x<00c3><00c3><00c3>x

or

schaefer<263> touch xinsert-composed-char:180: character not in range

before I ever get as far as creating the file.  Maybe there's some
additional character munging happening in transit of the email so
I'm not using the correct input.

However, I suggest checking your $LANG value and adjusting it if
necessary.  Tab-completion after LANG= works quite nicely.

Wolfgang, if you're reading this, something that I forgot to mention in
my reply to you is that sometime during 4.3.x zsh began to pay closer
attention to characters that are absent from the declared LANG character
set and to either refuse to process them at all, or to render them as
digits surrounded by angle brackets.  It no longer blindly passes those
characters around unprocessed, so things that "worked" before because
xterm dealt with the processing will now appear to "fail" because the
shell is trying harder to do the right thing internally.


  reply	other threads:[~2009-02-28 18:23 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-28  9:37 İsmail Dönmez
2009-02-28 18:22 ` Bart Schaefer [this message]
2009-02-28 19:35   ` Andrey Borzenkov
2009-02-28 23:06     ` Bart Schaefer
2009-02-28 21:28 ` Andrey Borzenkov
2009-02-28 22:28   ` İsmail Dönmez
2009-03-01  2:15     ` Vincent Lefevre
2009-03-01  7:19       ` Mikael Magnusson
2009-03-01  7:45       ` Andrey Borzenkov
2009-03-02  3:11         ` Vincent Lefevre
2009-03-01  8:05       ` Andrey Borzenkov
2009-03-02  3:16         ` Vincent Lefevre

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=090228102250.ZM3434@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=ismail@namtrac.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).