zsh-workers
 help / color / mirror / code / Atom feed
From: paul@falstad.com (Paul Falstad)
To: zsh-workers@sunsite.dk
Subject: problem with 8-bit characters
Date: Thu, 19 Apr 2001 01:02:50 -0700	[thread overview]
Message-ID: <10104190102.ZM9386@zoof.cts.com> (raw)

[-- Attachment #1: Text --]
[-- Type: text/plain , Size: 1565 bytes --]

Hi,

I would like to mention a bug that's been there since the beginning
(and has come back to haunt me).  If you have a filename which
includes one of the character tokens (like 0x84) then zsh will
of course have lots of problems dealing with that file.

example:

zsh% ls Albumbl?tter' Op. 124.wav'     
ls: Albumbl
           tter Op. 124.wavv: No such file or directory
                        ^^^^

bash$ ls -l Albumbl?tter' Op. 124.wav'
-rwxrwxr-x   1 pf       users    11277884 Apr 19 00:30 Albumbl?tter Op. 124.wav
bash$ echo Albumbl?tter' Op. 124.wav' | od -c
0000000   A   l   b   u   m   b   l 204   t   t   e   r       O   p   .
0000020       1   2   4   .   w   a   v  \n
0000031

This particular file is on an smbfs filesystem on linux.  The file is
called "Albumblätter Op. 124.wav" on the PC side but is showing up
with a \204 (0x84) instead of an "ä" on the linux side because of a bug in
smbfs.  Fortunately there appears to be a fix for the smbfs problem
so I'm going to try that out.  However zsh isn't handling this very well.

I expected that characters like 0x84 would never show up anywhere but
apparently that isn't the case.  This is probably a real low priority
bug and it seems very hard to fix, but I just wanted to point out that
it is a real problem in some cases in case anyone comes up with any
clever ideas for how to fix this.

Thanks much.


-- 
Paul Falstad, paul@falstad.com, 805-966-4935, http://www.falstad.com/
work: paul.falstad@openwave.com, 805-957-1790, http://www.openwave.com/


             reply	other threads:[~2001-04-19  8:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-19  8:02 Paul Falstad [this message]
2001-04-19 19:34 ` Peter Stephenson
2001-04-19 20:29   ` paul

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=10104190102.ZM9386@zoof.cts.com \
    --to=paul@falstad.com \
    --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).