no support for scanning Chinese directory path

hello, I’m a new user.

I want to know if Avast! support Chinese Directory Path scan. Because if use Avast! 4.7 to scan a chinese named directory, it will tell me that it can not found the path.

seems I have the same problem

Hello swisheng and nickzn,

Make sure you have the latest version of avast! installed. Support for folders using non-latin characters was fixed with version 4.7.826 (around April 26, 2006) and there has been another update since.

Hello mauserme,

I’ve got the newest version(4.7.827 - MAy2006), it still has this problem. If I use right click for scanning a folder(with no-latin characters name), it works, but if I do the same Avast! UI, chooseing the option of scan for folders, adding the same folder, it fails!!!

This is a capture of a scan report withe the newest Avast!

A few questions:

  1. What operating system do you use?
  2. Supposing you use Windows XP - what’s your setting in Control Panel / Regional Settings / “Advanced” / Language for non-Unicode programs?
  3. Do I undestand it correctly that scanning these folders using the Explorer extension (i.e. rightclick and select “Scan …” from the context menu) works, but from the Simple User Interface it doesn’t?
  4. Did you select this particular folder (containing Chinese characters) alone, or did you select the whole disk to be scanned in Simple User Interface? What if you select e.g. F:\Downloads\Software - does the error occur as well?
  5. Does the problem occur for all folders containing Chinese characters, or only for some of them?

Thanks.

I’m using WinXP SP2 Professional (Chinese Simplified)

This setting is Chinese(R.P. China).

Yes, you’ve got it, and sorry for my English.

I selected only the chinese named folder. And I also tried to select a disk partition o some folder witch contain a chinese named sub-folder, then the program throws a GREAT EXCEPTION(typical error advising window which nobody can understand it), and only gives me the option to close (o debug).

I’ve tried the same operation with several folders(with Chinese name), all of them report the same problem.

Not at all. And I hope my answers would be useful.

swisheng.

You mean the program crashed?? That certainly shouldn’t happen.
Was there any detailed crash message? (any module name, address, …) What exactly did the exception message say?
Are there any *.mdmp or unpXXXXXXX (X are some numbers) files in \Data\Log folder?

Strange, I’ve just tested it with Japanese, and it works OK…

BTW you guys are using Chinese version of avast??

Thanks
Vlk

Hi Vlk, yes, I’m using Chinese Simplified Version of avast!.

Recently, I tried again to get more detail of the crash error, and curiously it WORKED when I choosing a folder which contains some chinese named sub-folder, and the error window did not appear. HOW STRANGE! I’ve done nothing since the last test. How do you explain it?

However, when I select only chinese named folders (one or more), it still returns the same error. I will submit also a screen of this error, though probably you cannot understander it(cos it is in Chinese:-).

  • The first screen is the crash error message which I captured last time.
  • The second one is the Avast!'s error message which is displayed while scanning a chinese named folder.

And the unpXXX files? Are there any such files?

Thx

Ok, I found them, here are the last two one, if you need more, I can submit another 3 one later.

Thx.

  • It’s a .zip file, please change the extension and decompress it. (Cos the unpXXXX files’ size is more than 200KB)

Actually, I have one idea about what might be wrong with (some) Chinese filenames…
Let’s make an experiment :wink: - please do the following:

  1. Open Notepad
  2. In Windows Explorer, open one of the folders logged in avast! error log
  3. Copy it’s filename into Notepad (but don’t retype it - make sure you use copy&paste from Explorer to Notepad)
  4. Save the content from Notepad to a file, using the Unicode encoding (you can specify it in the Save dialog)
  5. Attach the file here.

I’ll see if I can reproduce the problem. Thanks!

By the way, the log looks interesting… it seems like some kind of memory corruption.

Any idea if we may reproduce the problem here? Exact steps?
And when does the problem occur, exactly? Immediately after starting the scan?

Also, could you please send me your file \data\avast4.db?
Please send it to my email address (click the envelope icon below my avatar to do that).

Thanks
Vlk

Hi, here is a way to reproduce the error, I will submit a .zip file which has the following stracture:
/test
|->/病毒<chinese named dir 1>
|->virus.txt
|->/病毒2<chinese named dir 2>
|->virus.txt

*the tow “virus.txt” files contain a simple line of string just like “virusvirusvirus”.

If you scan the chinese named dir 1 or 2, it will report a error similar to “avast-chinese-folder-error.jpg”, and if you scan the whole “test” directory, a “Avast-debug-error.jpg” screen will appear(maybe you need to run it several times).

Thx.

Here is the .txt file which contains the two chinese named folders.

Oddly enough, we’re not able to simulate any of the problems on our machines. No matter how hard we’re trying, it seems to be working OK…

If you’d like, I can send you another (newer) build (in a couple of days) to try out…

Thx
Vlk