Koozali.org: home of the SME Server

problem logging in - Chinese filenames?

dwater

problem logging in - Chinese filenames?
« on: December 31, 2004, 05:02:13 AM »
I have a user who has trouble logging in. It says that there is a problem with one of the files in her profile - the filename, directory name, of volume syntax is incorrect.

The error message doesn't stay up for a long time, but it seems to be referring a file which, on OS X, is displayed like this :

╘  ñ12╘ ╖▌ ñ╫  φúΒΌ2004-12.lnk

and in terminal (when logged into SME from OS X), looks like this :

?  ?12? ?? ??  ???2004-12.lnk

or (ls -b) :

?\ \ ?12?\ ??\ ??\ \ ???2004-12.lnk

It won't log her in because of this problem.

Is there a problem with SME and Chinese file names?

How can I fix it?

Max.

dwater

problem logging in - Chinese filenames?
« Reply #1 on: December 31, 2004, 06:29:24 AM »
I found this thread :

http://forums.contribs.org/index.php?topic=1401.0

which says to change the

Quote
parameter "client code page" from 850 to 950 and delete the line "character set = ISO8859-1".


The command 'chcp' in a Command Prompt window indicates I should change 'client code page' to 936.

Correct me if I'm wrong, but I can do that by copying the 11clientCodePage from /etc/e-smith/templates/smb.conf/ to /etc/e-smith/templates-custom/smb.conf/, and adding the line :

Code: [Select]
client code page = 936

to the top.

I am not sure how I should 'delete' a line though. Can someone help?

Max.

PS. Does this setting mean that all the Smb clients have to run their computers with the same 'code page'?

dwater

problem logging in - Chinese filenames?
« Reply #2 on: January 06, 2005, 09:27:45 AM »
Quote from: "dwater"
I found this thread :

The command 'chcp' in a Command Prompt window indicates I should change 'client code page' to 936.


Well, I can't get it to work at all :(

I ended up having to change all the chinese filenames into regular ones.

I suppose I will have to tell my users not to make files with chinese filenames too :((

Unless someone can help me, or point me in the right direction...

Max.