Holly Bostick wrote:
> Qiangning Hong schreef:
> 
>>Bryan Whitehead wrote:
>>
>>
>>>Can't you also use the iocharset=utf8 and codepage=utf8?
>>>
>>>something like: mount -t smbfs -o 
>>>user=<user>,iocharset=utf8,codepage=utf8 \\server\path /mnt/samba
>>>
>>>This doesn't work?
>>
>>
>>It doesn't work. There are "?"s in the filenames.
>>
> 
> 
> That's actually a good thing.... I take it you're doing this in a
> terminal? Which one? Was it compiled with UTF8 support?What font is the
> terminal using for display? A "?" replacing characters tends to mean (in
> font-speak) that the character is 'known', but no actual character
> exists to render under the selected font, or font encoding. So you kinda
> get a"?" literally because the display doesn't know what to show there,
> if you see what I'm getting at.

My gentoo system's locale is set to en_US.UTF8 and my
xfce-extra/terminal is fully support UTF-8 encoding.  As my previous
post says, I can see the Chinese filenames using CIFS with the following
command switches:

# mount -t cifs //winbox/movies /mnt/samba -o iocharset=utf8

But if I mount the path using smbfs, even specified
iocharset=utf8,codepage=utf8, the filename is shown incorrectly.  I
don't think it's because of my terminal encoding setting.

-- 
Qiangning Hong
http://www.hn.org/hongqn (RSS: http://feeds.feedburner.com/hongqn)

Registered Linux User #396996
Get Firefox! <http://www.spreadfirefox.com/?q=affiliates&id=67907&t=1>
Thunderbird! <http://www.spreadfirefox.com/?q=affiliates&id=67907&t=183>
-- 
[email protected] mailing list

Reply via email to