Gentoo Archives: gentoo-user

From: Qiangning Hong <hongqn@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] transfer large files via samba cause system freeze
Date: Sat, 24 Sep 2005 17:39:49
Message-Id: 43358DB9.9000409@gmail.com
In Reply to: Re: [gentoo-user] transfer large files via samba cause system freeze by Holly Bostick
1 Holly Bostick wrote:
2 > Qiangning Hong schreef:
3 >
4 >>Bryan Whitehead wrote:
5 >>
6 >>
7 >>>Can't you also use the iocharset=utf8 and codepage=utf8?
8 >>>
9 >>>something like: mount -t smbfs -o
10 >>>user=<user>,iocharset=utf8,codepage=utf8 \\server\path /mnt/samba
11 >>>
12 >>>This doesn't work?
13 >>
14 >>
15 >>It doesn't work. There are "?"s in the filenames.
16 >>
17 >
18 >
19 > That's actually a good thing.... I take it you're doing this in a
20 > terminal? Which one? Was it compiled with UTF8 support?What font is the
21 > terminal using for display? A "?" replacing characters tends to mean (in
22 > font-speak) that the character is 'known', but no actual character
23 > exists to render under the selected font, or font encoding. So you kinda
24 > get a"?" literally because the display doesn't know what to show there,
25 > if you see what I'm getting at.
26
27 My gentoo system's locale is set to en_US.UTF8 and my
28 xfce-extra/terminal is fully support UTF-8 encoding. As my previous
29 post says, I can see the Chinese filenames using CIFS with the following
30 command switches:
31
32 # mount -t cifs //winbox/movies /mnt/samba -o iocharset=utf8
33
34 But if I mount the path using smbfs, even specified
35 iocharset=utf8,codepage=utf8, the filename is shown incorrectly. I
36 don't think it's because of my terminal encoding setting.
37
38 --
39 Qiangning Hong
40 http://www.hn.org/hongqn (RSS: http://feeds.feedburner.com/hongqn)
41
42 Registered Linux User #396996
43 Get Firefox! <http://www.spreadfirefox.com/?q=affiliates&id=67907&t=1>
44 Thunderbird! <http://www.spreadfirefox.com/?q=affiliates&id=67907&t=183>
45 --
46 gentoo-user@g.o mailing list