charset confusion

Stephan Kulow coolo at kde.org
Sun Mar 30 18:37:49 GMT 2003


Hi!

I've done an experiment and configured my only windows
system (german win98) in the LAN to be named "häßlich" 
and be in the workgroup "möbel".

Then tried testsmbc on "smb://m%C3%B6bel/" (correctly
UTF-8 escaped samba URL). That tried a broadcast for
möbel<1d>, which I think it shouldn't. I'm not sure what
exactly it's supposed to do, but surely not UTF-8.

I then tried adding a pull_utf8 into the URL parsing of
libsmbclient, but that didn't change anything as the
default for unix charset is already UTF8 (and that's fine
for me). So I'm really wondering what's supposed to 
happen.

I then tried smbtree and that go results, but displayed them
incorrectly (from the attached log it seems to me as it wouldn't
convert the names it gets/sends at all).

So I'm asking for feedback how to fix that. libsmbclient.c
calls  cli_NetServerEnum with the supposedly correct workgroup
"möbel" (that's unix charset at least) and the call to push_ascii
is there too - so why doesn't it work?

Greetings, Stephan

-- 
Pace, Peace, Paix, Paz, Frieden, Pax, Pokój
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log.gz
Type: application/x-gzip
Size: 4202 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20030330/655a0533/log.bin


More information about the samba-technical mailing list