zsh-users
 help / color / mirror / code / Atom feed
* Fw: ZSH history file VS. UTF-8 data
@ 2011-03-02  9:43 Peter Stephenson
  2011-03-02 10:00 ` Mikael Magnusson
  2011-03-02 10:37 ` lilydjwg
  0 siblings, 2 replies; 3+ messages in thread
From: Peter Stephenson @ 2011-03-02  9:43 UTC (permalink / raw)
  To: Zsh Users' List

I got this.  I haven't investigated.  Replies will need to be copied
directly.


Begin forwarded message:

Date: Wed, 2 Mar 2011 11:49:29 +0900
From: ıɥɔıɐʇ ɐʇɐqɐʍɐʞ <kawabata.taichi@gmail.com>
To: <pws@csr.com>
Subject: ZSH history file VS. UTF-8 data


Dear sir,

I'm sorry to disturb you.

I've been a user of ZSH  for a long time and I really
appreciate for the developer of this great software.

Recently, I've got one trouble in ZSH history file, and as I tried to
solve it by
surveying Webs and Sources, with no help.  As of it, knowing that this
disturbs you,
I'm trying to ask for any help.

The trouble is as follows:

When I try to use UTF-8 file name in shell command, ZHS history file
seems to save
it with "meta code".

For example, executing
 $ ls \346\226\207\345\255\227  (octal expression of "ls 文字”)
results in histfile
 $ ls \346\203\266\203\247\2\345\255\203\267

That is, when 0x80-0x9F characters are used, then always 0x83 Meta
character is inserted and following character is bit shifted, resulting
garbage history.

Any way to avoid this situation?

Any help is really appreciated,

Sincerely,

-- 
---------------------------------------------------------------------
 川幡 太一 (KAWABATA, Taichi)   E-mail: kawabata.taichi@gmail.com
]


 To report this email as spam click
 https://www.mailcontrol.com/sr/wQw0zmjPoHdJTZGyOCrrhg== .


Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom


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

end of thread, other threads:[~2011-03-02 10:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-02  9:43 Fw: ZSH history file VS. UTF-8 data Peter Stephenson
2011-03-02 10:00 ` Mikael Magnusson
2011-03-02 10:37 ` lilydjwg

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