Jean-Christian Imbeault
2001-Oct-16 21:17 UTC
How to use samba "mangled" japanese filename as Linux args?
I have samba 2.2.1a running nicely. It's being used in a japanese office where everyone uses japanese Windows. I have no problems on the client side. The problem I have is when I access the server (RH Linux 7.1) using a telnet session I can't read the dir/file names. They have been "mangled". Not being able to read them is actually not a problem. The problem is that I can "cd" to directories or delete files ... For example a directory name shows up as "???N????" with ls but if I try "rm ???N????" it doesn't work. I use the bash shell and it can't auto-complete filenames either ... when I try to autocomplete bash actually sees the directory name as "寬峃曐尟", totally different from what "ls" outputs. So my question is, how can I use "mangled" directory/file names as arguments to command line commands (like ls, rm ...)? Thanks! Jc _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
Ian Cooper
2001-Oct-17 05:07 UTC
How to use samba "mangled" japanese filename as Linux args?
Try putting the filename in single-quotes '????N?????' or whatever it was. Isn't there also a japanese-charset terminal? Kterm? That might allow you to actually use the real characters instead of mangled filenames. -- Ian Cooper ian@wpi.edu On Wed, 17 Oct 2001, Jean-Christian Imbeault wrote:> Date: Wed, 17 Oct 2001 04:18:24 +0000 > From: Jean-Christian Imbeault <jean_christian@hotmail.com> > To: samba@lists.samba.org > Subject: How to use samba "mangled" japanese filename as Linux args? > > I have samba 2.2.1a running nicely. It's being used in a japanese office > where everyone uses japanese Windows. I have no problems on the client side. > > The problem I have is when I access the server (RH Linux 7.1) using a telnet > session I can't read the dir/file names. They have been "mangled". Not being > able to read them is actually not a problem. The problem is that I can "cd" > to directories or delete files ... > > For example a directory name shows up as "???N????" with ls but if I try "rm > ???N????" it doesn't work. > > I use the bash shell and it can't auto-complete filenames either ... when I > try to autocomplete bash actually sees the directory name as "???N????", > totally different from what "ls" outputs. > > So my question is, how can I use "mangled" directory/file names as arguments > to command line commands (like ls, rm ...)? > > Thanks! > > Jc > > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >