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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



 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! 

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux