On Wed, Nov 06, 2002 at 04:34:28PM +1030, Richard Sharpe wrote: > Hi, > > I have been tracking down a problem with profiles that was reported last > year to do with names like '31/2 Floppy (A).lnk' where 1/2 is the special > character that shows up as 1/2 under Windows. > > This problem does not occur with Linux and Samba 2.0.7, and does not occur > with Samba-head and Slowaris or FreeBSD, however, it does it occur with > Linux (RedHat 7.2) and samba-head. > > The problem occurs when server_push is called to transfer the name to the > response as a UNICODE string. However, while the string is fully in the > buffer, for some reason, there is a 0x00 0x00 right after the 0x33 0x00 > inserted for the 3. > > Now investigating why server_push is screwing the string up.
Oh. Do you have the unix character set set to iso8859-1 ? I don't think that character set has a 1/2 character. Try setting it to utf8 and see if this fixes it. Jeremy.
