Re: [Tracker] Inconsistency with tracker-search-tool results



On 11/23/09 13:22, Martyn Russell wrote:
On 06/11/09 06:29, Abhijit Nath wrote:
Hello,

Hi,

I have recently started using tracker (0.6.95).
I'm facing one issue with tracker-search and tracker-search-tool with
files which has accented characters in filenames.
tracker-search(-tool) when used with ISO8859 locales doesn't return
right results.
In result field, it return only files that don't content accents. But
nautilus is able to show the file names.
I have checked in the source code and it seems,
tracker_db_result_set_iter_next() returns FALSE in case of accented file
names.

Hmm. I don't suppose you're using the tracker-0.6 branch are you?

Yes. I'm using tracker-0.6.95 branch.
Is it a correct behavior? If not, should i raise a defect in bugzilla?

I would like to see if this is fixed in the tracker-0.6 branch already before doing that.

It is not fixed in 0.6.95 branch and earlier. I have checked the source code and it seems, trackerd reads the files (with ISO8859-1 characters in it) correctly but in file tracker-crawler.c it uses g_utf8_validate () to validate the files. And it get failed there. I have removed the checks but still it is not showing proper result. So there should be some other issue also (probably sqlite).

Thanks,
Abhijit



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]