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



On 23/11/09 11:47, Abhijit Nath wrote:
On 11/23/09 16:55, Martyn Russell wrote:
You mean the tag right? There is no branch with that name. Only
"tracker-0.6".

Sorry ... Actually the tarball version of tracker is 0.6.95. But it is
basically tracker-0.6.

Ah I see. Well, the tracker-0.6 branch is quite different from 0.6.95. We have released something like 23 versions internally for Maemo since that release.

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).

Hmm, well, if it is not correct UTF-8, then all bets are off.
Our databases expect UTF-8 only i'm afraid.


Ok...Is there any plan to support non utf-8 in tracker in coming releases?
Actually if i build tracker with the tarball version 0.6.6 (before the
sqlite implementation, i guess), tracker support non utf-8 characters
(with some issues).

I don't think so. At least not with 0.6.x. Did you have a chance to try 0.7. and see if the same issue exists there?

--
Regards,
Martyn



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