On Samba 3.0.2, the output of SWAT depends on "unix charset", but this is bad. Because for example the message file for Japanese is written in CP932, so if we set "unix charset" other than "CP932", then the message will be corrupted. And assuming that if I were German and were managing the Samba server for Japanese people, then I will set "unix charset = CP932" but will access to SWAT via my browser which is set the Accept-Language: de, this makes SWAT display corrupted. Please revert the implementation of Samba 3.0.1.
in svn swat now defaults to utf8. If utf8 is being used, output is fine for messages and files as well.
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.