zsh-users
 help / color / mirror / code / Atom feed
From: Oliver Kiddle <okiddle@yahoo.co.uk>
To: zsh-users@sunsite.dk
Subject: forward: UTF-8
Date: Mon, 17 Dec 2001 16:35:52 +0000	[thread overview]
Message-ID: <3C1E1EE8.9BE2B1D3@yahoo.co.uk> (raw)

-------- Original Message --------
Date: Sat, 15 Dec 2001 22:50:21 +0100
Subject: UTF-8
From: Olivier Verdier <Olivier.Verdier@mas.ecp.fr>
To: zsh@sunsite.dk

Hello!

I'm using Darwin and Mac OS X 10.1 together with zsh (zsh --version = 
zsh 4.0.4 (powerpc-apple-darwin1.4)), and I can't figure out how to make 
it work properly with UTF-8 encoding. All file names are indeed encoded 
in UTF-8 on macintosh hard-disk (HFS+ format). I use a terminal which is 
UTF-8 aware (apple Terminal.app). It works perfectly with 
UTF-8-configured 'less' and 'vim' commands.

Some examples of misbehaviors:
1) a 'ls' command for "Téléchargement" gives "Te??e??hargement"
	*but* 'ls | less' gives "Téléchargement" if less is configured for 
UTF-8
	so the output of 'ls' is correct, but is misinterpreted by the shell

2) completion doesn't work; if 'Télé' is on the directory, Té[tab] gives 
nothing, but 'cd Télé' works...
	*moreover* 'cd Té' writes 'cd T@' on screen, but 'cd Té[tab]' turns 
itself into 'cd Té'

3) 'cd Télé' together with the option 'printeightbit' prints correctly 
the pwd; mkdir Télé works as expected.

All theses strange behaviors make me think that the solution is not so 
far but still I can't find a way around.
Is there an easy way out, or is a complete refund of zsh necessary to 
achieve the UTF-8 compatibility?

thank you for your help and for the excellent shell you provided to the 
community!

regards,
	Olivier Verdier

_____________________________________________________________________
This message has been checked for all known viruses by the 
MessageLabs Virus Scanning Service. For further information visit
http://www.messagelabs.com/stats.asp


             reply	other threads:[~2001-12-17 16:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-17 16:35 Oliver Kiddle [this message]
2001-12-17 16:47 ` Phil Pennock

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=3C1E1EE8.9BE2B1D3@yahoo.co.uk \
    --to=okiddle@yahoo.co.uk \
    --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).