This article only applies if you are using Japanese encoding on your Linux system.
The following issue may be seen when you are running Sophos Anti-Virus for Linux on platforms and kernels that use both UTF-8 and eucJP encoding. It occurs under the following circumstances:
- you have a folder containing two files of the same name, e.g. 'test', one is encoded in UTF-8 and the other is encoded in eucJP
- only the eucJP file is infected.
Sophos Anti-Virus for Linux scans the folder and records in the log that a file called 'test' is infected.
If you view the log using a shell running in UTF-8 encoding, you will see one file called 'test' and one file with garbled characters in the filename. It is the file with garbled characters in the filename that is infected.
What to do
You must ensure that you remove or clean the file with the garbled filename, not the one called 'test'.