How to use samba "mangled" japanese filename as Linux args?

Ian Cooper ian at WPI.EDU
Wed Oct 17 05:07:04 GMT 2001

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

Ian Cooper
ian at

On Wed, 17 Oct 2001, Jean-Christian Imbeault wrote:

> Date: Wed, 17 Oct 2001 04:18:24 +0000
> From: Jean-Christian Imbeault <jean_christian at>
> To: samba at
> 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
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:

More information about the samba mailing list