OESF Portables Forum
Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Sharp ROMs => Topic started by: Snappy on June 20, 2006, 07:32:07 am
-
When I use PC-link in storage mode, I can browse and copy files (english and chinese filenames) back and forth from WindowsXP to my Akita running Cacko1.23 without a glitch.
But when I link my Akita and WindowsXP with network and use samba to share out directories ... chinese filenames on my Z do *not* appear on my explorer in WindowsXP at all. When I create a folder or file with chinese file name onto the samba share via WindowsXP (PC->Z), it appears ok on my PC, but on the Z, it appears corrupted, the filename ie.
I read another thread about someone having similar problems with japanese filenames ... and thought of finding the codepage files for my Z.
Question:
1. Which codepage should I use? 850 codepage files already exist. They are the only ones I found for samba. Any other ones I should download?
2. smb.conf has three settings:
coding system = UTF8
character set = 850
client code page = 850
I currently have this setting.
2.1 Who's character set is it?
2.2 Client here I presume refers to the PC, since samba is running on Z as server. yes?
3. Should I be using codepage 1252 which is the default that Windows uses? or 8859-1?
Thanks for any help and suggestion.
PS: I read on another thread that Cacko 1.23 already have samba installed and uses inetd commands ... but I hope not to tear down an otherwise perfectly working samba setup.
-
ok, I finally got it fixed ... :D
For those who uses Cacko 1.23 English locale but need to display Chinese filenames via samba, and could not read on. For those who could, ... why didn't you reply earlier??
I downloaded http://zaurus.spy.org/feeds/cacko/pdaXrom/....9_armv5tel.ipk (http://zaurus.spy.org/feeds/cacko/pdaXrom/1.1.0/feed-rc3/samba-codepage-950_2.2.9_armv5tel.ipk)
which contains the codepage for Big5. I believe the two files codepage.950 and unicode_map.950 are platform independent, unicode_map probably contains a mapping between DBCS->UNICODE mapping for Big5.
Anyway, I installed it into Cacko 1.23 and had to link these two files.
1. From /home/root/usr/share/samba/codepages/codepage.950 to
/home/root/usr/lib/samba/codepages/codepage.950 and
/home/root/usr/local/samba/lib/codepages/codepage.950
2. From /home/root/usr/share/samba/codepages/unicode_map.950 to
/home/root/usr/lib/samba/codepages/unicode_map.950 and
/home/root/usr/local/samba/lib/codepages/unicode_map.950
3. modify /etc/samba/smb.conf
coding system = UTF8
character set = 850 <---- for the filenames on Z
client code page = 950 <---- WindowsXP
EDIT: One of the above is right ...
4. I also modified fstab to include 'iochars=utf8' in the options for CF and SD. Not sure if they mattered, since it didn't work until I installed the codepage file.
restart samba if its running. Done. Enjoi!