zsh-workers
 help / color / mirror / code / Atom feed
* Regression in UTF-8 support
@ 2005-09-25 16:05 Andrey Borzenkov
  2005-09-25 21:56 ` Mikael Magnusson
  2005-09-26 18:37 ` Peter Stephenson
  0 siblings, 2 replies; 10+ messages in thread
From: Andrey Borzenkov @ 2005-09-25 16:05 UTC (permalink / raw)
  To: zsh-workers

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

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)

                            

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2005-09-28 14:46 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-25 16:05 Regression in UTF-8 support Andrey Borzenkov
2005-09-25 21:56 ` Mikael Magnusson
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

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).