<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
In my setup is works completely case insensitive Église and église
or in either case both found.<br>
dk 2.1.0<br>
ubuntu 11.04<br>
if you want oter details about the setup ask and provide details
about where to find the wanted info.<br>
<br>
Best,<br>
Rinus<br>
<br>
Op 28-08-11 21:33, Jean-François Rabasse schreef:
<blockquote
cite="mid:alpine.LNX.2.00.1108282112360.6362@azrael.victoria.net"
type="cite">
<br>
Hello,
<br>
<br>
On Sun, 28 Aug 2011, Gilles Caulier wrote:
<br>
<br>
<blockquote type="cite">Date: Sun, 28 Aug 2011 00:01:40 +0200
<br>
From: Gilles Caulier <a class="moz-txt-link-rfc2396E" href="mailto:caulier.gilles@gmail.com"><caulier.gilles@gmail.com></a>
<br>
Reply-To: digiKam - Home Manage your photographs as a
professional with the
<br>
power of open source <a class="moz-txt-link-rfc2396E" href="mailto:digikam-users@kde.org"><digikam-users@kde.org></a>
<br>
To: digiKam - Home Manage your photographs as a professional
with the power of
<br>
open source <a class="moz-txt-link-rfc2396E" href="mailto:digikam-users@kde.org"><digikam-users@kde.org></a>
<br>
Subject: Re: [Digikam-users] Words match in digiKam search
<br>
<br>
2011/8/28 Jean-François Rabasse
<a class="moz-txt-link-rfc2396E" href="mailto:jean-francois.rabasse@wanadoo.fr"><jean-francois.rabasse@wanadoo.fr></a>:
<br>
<blockquote type="cite">
<br>
Hello,
<br>
<br>
I have some questions about the way digiKam performs strings
<br>
comparisons when searching for keywords.
<br>
<br>
1. The digiKam handbook says "searches are case insensitive".
<br>
Well, doesn't seem to be the case in my environment (digiKam
1.2.0,
<br>
Linux OpenSuSE 11.3 with KDE 4) with non US ASCII characters.
<br>
<br>
I have several pictures with captions containing the word
"église"
<br>
(for non French readers, église is a church). E.g. picture 1
is
<br>
titled "Petite église rouge", and picture 2 is titled "Église
à
<br>
vendre". (With an uppercase É because all my titles are
<br>
capitalised.)
<br>
<br>
Now, if I type (in the words search input field) the word
"église",
<br>
I get picture 1 but not picture 2. And if I type "Église", I
get
<br>
picture 2 but not picture 1. Clearly a case sensitive match,
<br>
concerning only the ISO Latin characters (typing "éGLISE"
finds
<br>
picture 1 too, and "ÉGLISE" finds picture 2).
<br>
<br>
I suspect it could be a problem with non ASCII characters
encoding.
<br>
My desktop environment is set to French, ISO-8859-1 charset.
<br>
How digiKam internally encodes its text strings ? UTF-8 maybe
?
<br>
This could possibly explain a mismatch.
<br>
<br>
Has anyone already seen such an issue, and what could be the
best
<br>
way to walk around ? Is there a way to tell digiKam about user
input
<br>
encoding, us-ascii, iso-8859-x, utf-8 ? Or is it shadowed by
the
<br>
X11/Qt/KDE layers ?
<br>
<br>
2. Another question related to strings match, just because I'm
<br>
curious :-)
<br>
In the digiKam configuration window, folder "Miscellaneous",
<br>
there's a configuration parameter named "String comparison
type",
<br>
with a selection menu proposing two options, Natural or
Normal.
<br>
<br>
I couldn't find anything about that in the handbook. What is a
<br>
"Normal" comparison type, and a "Natural" comparison type ?
<br>
<br>
</blockquote>
<br>
SHIFT+F1 over the drop-down menu doesn't help ?
<br>
<br>
Gilles Caulier
<br>
</blockquote>
<br>
Well, doesn't help a lot :-(
<br>
Shift-F1 says : "Not defined. There no "What's This" assigned to
this
<br>
widget".
<br>
And the menu comparison options menu, Natural vs. Normal, has a
tooltip
<br>
but not very readable. Tooltip text starts with "Sets the way in
which
<br>
strings are compared inside digiKam, etc.", but seems to be a long
text
<br>
and I can't have it displayed correctly. I can see that text
embeds some
<br>
XHTML formating, e.g. "<br/>" to trig a line break. And this
markups are
<br>
juste displayed as raw text, not processed, so the whole tooltip
text
<br>
appears on one long line, truncated at the right edge of my
screen.
<br>
<br>
But this was just a matter of curiousness.
<br>
My major problem is the case insensitive search when words
contains
<br>
non US-ASCII characters.
<br>
Could be a problem with my graphic interface setup, or not.
<br>
Could non english writers digiKam users confirm - or not - that
case
<br>
insensitive search works well with their country charset ?
<br>
If yes, I'll investigate in my X11/Qt/KDE configuration.
<br>
If not, I'll just do my searches twice, typing the lowercase
version
<br>
then uppercase version of words containing Latin1 characters :-)
<br>
<br>
Thanks in advance,
<br>
Jean-François<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Digikam-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Digikam-users@kde.org">Digikam-users@kde.org</a>
<a class="moz-txt-link-freetext" href="https://mail.kde.org/mailman/listinfo/digikam-users">https://mail.kde.org/mailman/listinfo/digikam-users</a>
</pre>
</blockquote>
<br>
</body>
</html>