Bug 831 - Windows XP crashes with unicode=no and unix charset=ASCII
Summary: Windows XP crashes with unicode=no and unix charset=ASCII
Status: RESOLVED WONTFIX
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Config Files (show other bugs)
Version: 3.0.0
Hardware: Other other
: P3 normal
Target Milestone: none
Assignee: Jeremy Allison
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-28 00:37 UTC by Sverker Norlander
Modified: 2003-12-05 15:42 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sverker Norlander 2003-11-28 00:37:35 UTC
On Microsoft Windows XP Swedish with Service Pack 1 the process EXPLORER.EXE 
crashes when trying to access a folder which contains subfolders with the 
Swedish chracters å, ä and ö or if a folder contains any non alphanumeric-
characters (like space).

It only crashes with the following settings in smb.conf:

unicode = no
unix charset = ASCII

Also, folders with non alphanumeric characters appear as ~ instead of their 
real name

If I change to unicode = yes, it works after I restart the smbd.

The samba server is running version 3.0.1pre3 installed on RedHat 9 from the 
RPM package.
Comment 1 Gerald (Jerry) Carter (dead mail address) 2003-11-29 21:02:55 UTC
Is there a reason why you need unicode = no ?  Just trying 
to understand the impact of this bug.  
Comment 2 Sverker Norlander 2003-12-02 12:29:30 UTC
I discovered this bug while trying to get Swedish characters to work, and the 
correct setting for this is:

unicode = yes
dos charset = ISO8859-1
unix charset = ISO8859-1

so I can't see any reason for using unicode = no and unix charset = ASCII 
(don't know if the same error appears with other charsets).

Since I don't really understand what the unicode parameter does (haven't read 
about it) I can't tell when or how to use it.
Comment 3 Jeremy Allison 2003-12-05 15:42:07 UTC
> I discovered this bug while trying to get Swedish characters to work, and the 
> correct setting for this is:
>
> unicode = yes
> dos charset = ISO8859-1
> unix charset = ISO8859-1

Actually this is not correct. The correct setting for Swedish would be :

unix charset = ISO8859-1
dos charset = CP850
Comment 4 Jeremy Allison 2003-12-05 15:42:55 UTC
I'm closing this. There is no reason to turn off unicode to a Windows XP
client - plus this is a Microsoft client bug, not a Samba one.

Jeremy.