Jeremy Allison
2005-Mar-12 17:25 UTC
[Samba] UTF-8 problem when not using UTF-8, but Umlauts
On Sat, Mar 12, 2005 at 12:12:27PM +0100, Gerhard Strangar wrote:> High, > > I'm running some Windows 9x Clients which don't use Unicode for SMB. It > didn't cause any problems when using Samba 2, because the UNIX machines > use ISO8859-1 and the Windows 9x use CP850 and no conversion was > neccessary, German Umlauts like ?, ?, ?, ?, ?, ? and ? were the same on > UNIX and Windows. > Now I'm trying to switch to Samba 3.0.11 and it doesn't work anymore. I > tried "dos charset = CP850" together with "unix charset = ISO8859-1" as > well as "dos charset = ISO8859-1" together with "unix charset > ISO8859-1". First I thought everything was okay, because the characters > are diplaed correctly, but if a Windows 9x client tried to delete a file > containing Umlauts or the ?, it fails and diplays the error message: > "File cannot be deleted. File system error (1026)" > When it tries to create such a file, it gets some completely different > name. > > smbstatus says: > init_iconv: Conversion from UTF-16LE to ISO8859-1 not supported > init_iconv: Attempting to replace with conversion from UTF-16LE to ASCIIThe iconv library on this system is broken. What UNIX are you using ? Jeremy.
Jeremy Allison
2005-Mar-12 19:11 UTC
[Samba] UTF-8 problem when not using UTF-8, but Umlauts
On Sat, Mar 12, 2005 at 07:29:24PM +0100, Gerhard Strangar wrote:> Jeremy Allison wrote: > > > > smbstatus says: > > > init_iconv: Conversion from UTF-16LE to ISO8859-1 not supported > > > init_iconv: Attempting to replace with conversion from UTF-16LE to ASCII > > The iconv library on this system is broken. What UNIX are you using ? > > Solaris 9 for 32-bit x86It has a broken iconv library. Either replace it with GNU iconv, or use Linux on x86 (which has a working iconv library). Jeremy.
Jeremy Allison
2005-Mar-13 21:05 UTC
[Samba] UTF-8 problem when not using UTF-8, but Umlauts
On Sun, Mar 13, 2005 at 02:17:13PM +0100, Gerhard Strangar wrote:> Jeremy Allison wrote: > > > > > The iconv library on this system is broken. What UNIX are you using ? > > > Solaris 9 for 32-bit x86 > > It has a broken iconv library. > > Which stnadard or RFC does it violate?I'm not saying it violates any standard or RFC, what I'm saying is it doesn't work :-). Convering from UCS2-LE to ISO8859-1 is a pretty common operation, if your iconv library doesn't seem to have support for it then there's something wrong. I don't use Solaris so I don't know what.> Installing libiconv didn't create a > /usr/local/samba/lib/charset/ISO8859-1.so > which smbstatus tries to open all the time.I'd just use Linux then :-). iconv is configured correctly and just works on that platform. Jeremy.