samba file share in multi coding
Hi all,
I'm setting up a samba with redhat 8.0 with samba 2.5.0. I want a share can save files or directory in tranditional chinese and simplifed chinese which like NT Server or Windows 2K Server. I have tested tanditional chinese can save. But same time save simplifed chinese is not work. What can I do ? Thank you ! |
i wrote a text editor once
http://www.kde-apps.org/content/show.php?content=16492 that has under "Save As" a choice for GBK and Big5 it should work correctly and as far as i know Samba should not interfear if you mean file names however you have to issue a different mount command something like mount -t smbfs -o username=blah,password=blah,codepage=blah,iocharset=blah wish i knew more i think NTFS writes all it's filenames as UTF-16 |
thanks.
I want the samba share like NTFS. Does Samba support UTF-16 in samba 2.5.0? |
i think so
on the windows machine open the DOS prompt and type chcp it will return something like Active Code Page: xxx so then put (if you put it in /etc/fstab) something like adjust as needed Code:
//server/share /mnt/point smbfs auto,users,uid=500,gid=users,iocharset=utf16,codepage=cpxxx,credentials=/etc/samba/smbpasswd 0 0 Code:
mount -t smbfs -o username=xxx,password=xxx,codepage=cpxxx,iocharset=utf16 //server/share /mnt/point if it complains about utf16 try utf8 cause it might be doing some translating using the codepage ? |
Can i add code to smb.conf?
which code should I use? Thanks |
All times are GMT -5. The time now is 05:34 PM. |