
vinschen at redhat
Feb 20, 2009, 1:31 AM
Post #2 of 2
(966 views)
Permalink
|
|
Re: How to encode Non-English directories and filenames
[In reply to]
|
|
On Feb 19 12:12, Pulkit Singhal wrote: > Hello All, > > I have a custom client which successfully connects to the SSH server > both on cygwin/OpenSSH-server running on windows and to standard SSH > servers runnign on Linux. > > If I send a command like the following in bytes: > ==== > mkdir <Shift_JIS_characters> > ==== > after having encoded the whole command in bytes with Shift_JIS, to a > linux SSH server ... it works. > > BUT if I send a similar command to a cygwin/SSH-server on windows, it fails. > > It seems like the OpenSSH implementation does not honor the default > system encoding specified by the windows operating system for > non-Unicode programs. You can try running the sshd service with the environment variable CYGWIN set to "codepage:oem" plus setting LC_CTYPE to "C-JIS". Native language support in Cygwin exists only marginally, especially since the underlying newlib C library is lacking in this area quite a bit. I'm working on that, but it will take time. Corinna -- Corinna Vinschen Cygwin Project Co-Leader Red Hat _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev [at] mindrot https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
|