On 09.12.2007 08:40, Chuan-kai Lin wrote: > Package: tracker-utils > Version: 0.6.3-3+b1 > Severity: normal > > Hi, > > The tracker-tag utility has a bug which makes it ignore tags in Chinese > (Big5 encoding, as per LC_CTYPE). Here is how to reproduce the bug: > > $ /usr/bin/tracker-tag -s <some Chinese string> > /usr/bin/tracker-tag: internal tracker error: No keywords supplied > $ > > Although not tested, I believe that the bug also affects tags in > non-ASCII, non-UTF8 encodings. I traced the bug to program segments > that (unnecessarily) attempt to convert tags from current locale to UTF8 > using g_locale_to_utf8(). The conversions fail for non-ASCII, non-UTF8 > strings (it looks like because some other glib function already > converted the strings to UTF8?), and because tracker-tag does not check > error returns from g_locale_to_utf8(), it silently ignores those tags. > > I found that removing the conversion code segments eliminates the bug > and makes tracker-tag function correctly (tested adding, querying, and > removing tags). The attached patch implements this fix. >
Hi, sorry for the late reply. Could you please upgrade to the latest 0.8 version from unstable/testing and try to reproduce the problem. Thanks, Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature