I have Samba 3.0.1 ÏÎ FreeBSD5.2 My charset settings display charset = KOI8-R unix charset = KOI8-R dos charset = CP866 When I create file from Windows with name, that contain "number" symbol ("#" in KOI8-R, I don't know how it representate the same CP866 symbol), the name of this file become unreadable. But all OK with such filenames on Samba 2.2.8 - "number" symbol in CP866 successfully convert to # in KOI8-R during creation file.
Jeremy, any ideas ?
One additional comment: The "ü" symbol in filename convert in "copyright" symbol in Samba 2.2.8a, not "#", as I posted before.
This is not a Samba error, neither iconv error. It is deliberate deviation in Russian community from existing standard which was introduced by someone into Samba 2.2 a long time ago. The simple fact is: KOI8-R does not contain Numero sign at all by definition while CP866 (dos encoding) has. So it is impossible to do proper conversion between them. People in past have violated KOI8-R standard and mapped Numero to some non-important position for convenience. Since iconv(3) in glibc and libiconv are implementing strict KOI8-R, this violation now removed but inconvenience is introduced. Solution is to switch to UTF-8 or ISO8859-5 or CP1251 as Unix encoding.
database cleanup