[CentOS] can't copy file with chinese name.

dxuranus dxuranus at gmail.com
Fri Sep 8 03:39:38 UTC 2006


 i mount a windows share like this:
mount -t smbfs -o
iocharset=gb2312,codepage=936,username=administrator //192.168.10.27/cvs /mnt/windows
and try to copy file from /mnt/windows .
but it always told me "cp: con't creat normal file ,  invalid argument."
and here is my locale:
LANG=zh_CN
LC_CTYPE="zh_CN"
LC_NUMERIC="zh_CN"
LC_TIME="zh_CN"
LC_COLLATE="zh_CN"
LC_MONETARY="zh_CN"
LC_MESSAGES="zh_CN"
LC_PAPER="zh_CN"
LC_NAME="zh_CN"
LC_ADDRESS="zh_CN"
LC_TELEPHONE="zh_CN"
LC_MEASUREMENT="zh_CN"
LC_IDENTIFICATION="zh_CN"
LC_ALL=
 i try all possible charset utf-8,gbk,cp936,or gb2312.
i have focus on this tow days,if i still can't solve this i will crazy.
thanks fro any help! 




More information about the CentOS mailing list