rejetto forum

Search Chinese characters get a wrong result (hsf 2.3-279)

0 Members and 1 Guest are viewing this topic.

Offline stonecooper

  • Occasional poster
  • *
    • Posts: 8
    • View Profile
Hi, I'm using hfs 2.3-279 to build up a file share server. But the search function seems not work well on Chinese characters, English works well.
See the attachment,
I was trying to search "测试" in search box, the search result not only return only contain "测试" files and folder, but actually return all the files and folder which are contain any Chinese characters.

I'm not sure it's a bug a somthing I did a wrong config in somewhere...

Could you please help me.

Thanks a lot.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13275
    • View Profile
honestly i don't know,
also: i cannot test it, because HFS is not 100% unicode, so i would need a chinese Windows (that i would not even be able to use)


Offline stonecooper

  • Occasional poster
  • *
    • Posts: 8
    • View Profile
Hi rejetto

Could you please give me some clue that how does the search file mechanism works.  I read the code the templates but not get a clear answer.

May be I can confirm it's a bug or somthing eles.

Thanks for your help.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13275
    • View Profile
the search is totally made by the program, not the template.
what HFS does is to recursively walk the folders, to list all items, but ALSO apply a filter, so that only those complying the filter are displayed.

if it's a bug, i need to be able to reproduce the problem. The problem is that i don't have a chinese system.


Offline stonecooper

  • Occasional poster
  • *
    • Posts: 8
    • View Profile

if it's a bug, i need to be able to reproduce the problem. The problem is that i don't have a chinese system.

Is that possiable if I provid you a Chinese system of VitrualBox vdi file? Then you can run a Chinese system in a virtual mechine.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13275
    • View Profile

Offline stonecooper

  • Occasional poster
  • *
    • Posts: 8
    • View Profile
we can try
remember i don't know chinese

Don't worry, you don't need usderstand Chinese, most Windows XP looks the same. And I will provide the test case, you can compare the search result.  ;D


Offline linuxww

  • Occasional poster
  • *
    • Posts: 2
    • View Profile

Offline linuxww

  • Occasional poster
  • *
    • Posts: 2
    • View Profile
If anything that I can help, please let me know? I really need this function to work properly as soon as possible.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13275
    • View Profile
sorry i'm not working on that for now.
but HFS is open source, so you are invited.


Offline funbsd

  • Occasional poster
  • *
    • Posts: 8
    • View Profile
I've got the same problem in recent 2.3 beta version.
But it's fine when I using version 2.3 beta buid#249 and before.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13275
    • View Profile

Offline funbsd

  • Occasional poster
  • *
    • Posts: 8
    • View Profile

Offline funbsd

  • Occasional poster
  • *
    • Posts: 8
    • View Profile
hi funbsd, can you tell me if #250 has the problem or not?

I have tested it.
It's work well until #267.
It does not work well since #269.

But I can not download #268 from:
http://www.melauto.it/rejetto/beta/hfs268.exe
So I don't test it.

It's really weird. #268 is missing, and since then, it does not work well.



Offline funbsd

  • Occasional poster
  • *
    • Posts: 8
    • View Profile
hi funbsd, can you tell me if #250 has the problem or not?

And some #26x version report as Adware.Gen or Trojan.Gen.2 infected by symantec endpoint antivirus.



Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13275
    • View Profile
Those are false alarms, don't worry.
Anyway your work was excellent, Thanks. I'll try to see what I can make of it.