zsh-workers
 help / color / mirror / code / Atom feed
From: Mikael Magnusson <mikachu@gmail.com>
To: zsh-workers@sunsite.dk
Subject: Re: Regression in UTF-8 support
Date: Sun, 25 Sep 2005 23:56:42 +0200	[thread overview]
Message-ID: <237967ef050925145629ea4b77@mail.gmail.com> (raw)
In-Reply-To: <200509252005.41824.arvidjaar@newmail.ru>

On 9/25/05, Andrey Borzenkov <arvidjaar@newmail.ru> wrote:
> I did not really need Russian filenames until recently; with quite unexpected
> results. The following is in UTF; please compare file listing with completion
> listing (ignore obvious formatting error):
>
> {pts/1}% ll
> итого 0
> drwxr-xr-x  1 root root 0 Сен 24 11:57 arvidjaar/
> drwxr-xr-x  1 root root 0 Сен 24 11:57 Мои видеозаписи/
> drwxr-xr-x  1 root root 0 Сен 24 11:57 Мои документы/
> drwxr-xr-x  1 root root 0 Сен 24 11:57 Мои фотографии/
> drwxr-xr-x  1 root root 0 Сен 24 11:57 Моя музыка/
> drwxr-xr-x  1 root root 0 Сен 25 19:40 Папки друзей/
> drwxr-xr-x  1 root root 0 Сен 25 19:40 Публичные папки/
> {pts/1}% cd arvidjaar/
> Completing local directory
> arvidjaar/                         Папки\ друзей/
> Мои\ видеозаписи/    Мои\ документу/
> Мои\ уотограуии/    Моу\ музука/
> Публиунуе\ папки/
>
> Here are codes of some characters that are mixed:
>
> {pts/2}% echo фу | xxd
> 0000000: d184 d183 0a                             .....
> {pts/2}% echo ф <= result of up history!!!
> ф
> {pts/2}% echo уы | xxd
> 0000000: d183 d18b 0a                             .....
> {pts/2}% echo  <= result of up history!!!
>
> so something mangles characters (d184 -> d183, d18b -> d183 etc), moreover,
> parsing stops at this character (d183)

I think i brought this up in my thread about utf a while ago, but
maybe listing several issues in one mail wasn't really a good idea.
Just wanted to say it is reproducible here too, at least the history
truncating part.

--
Mikael Magnusson

  reply	other threads:[~2005-09-25 21:56 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-25 16:05 Andrey Borzenkov
2005-09-25 21:56 ` Mikael Magnusson [this message]
2005-09-26 18:37 ` Peter Stephenson
2005-09-26 18:53   ` Andrey Borzenkov
2005-09-27 14:22     ` Peter Stephenson
2005-09-27 17:00       ` Mikael Magnusson
2005-09-28  3:04         ` Andrey Borzenkov
2005-09-28 10:15           ` Peter Stephenson
2005-09-28 10:22             ` Peter Stephenson
2005-09-28 14:45               ` Bart Schaefer

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=237967ef050925145629ea4b77@mail.gmail.com \
    --to=mikachu@gmail.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).