[Digikam-devel] XMP to solve tags name and Tags Path record in pictures metadata...

Gilles Caulier caulier.gilles at gmail.com
Tue Oct 2 13:16:09 BST 2007


>
> > But i have a question about how to save the a tag path. Currently the
> > separator is a '/'. This can be a problem if user use this character in
> > a tag name because it will break the tags tree in a future import
> > (backup/restore). If somebody has an alternative to prevent this
> > problem, let's me hear...
> >
> > Thanks in advance for you constructive remarks...
>
> Maybe some "phishing"?
>
> Unicode provides several types of slash, among them:
>
> 2044    ???     FRACTION SLASH
> 2215    ???     DIVISION SLASH
>
> Comparing to well known solidus:
>
> 002F    /       SOLIDUS
>
> Since XMP fully supports utf-8 we could use them. But there is one big
> problem (as seen above): we may be not sure if user has font with proper
> glyphs. Of course it is possible to do some display time substitute but
> with that it would be probably better to use some special sequence of
> chars, beginning eg with :: and ending with {%this is digikam tags path
> separator%} :)
>
> Well, after a moment of thinking... why stop at phishing-like solutions?
> Just use real arrows:
>
> 279D    ???     TRIANGLE-HEADED RIGHTWARDS ARROW
>
> I put it in some random string in libksirtet.po and works quite nice
> on my system.  While I am working on KDE from SVN (3.5 branch), and Qt
> 3.4.3 the rest of my system is 2 years old - including fonts.
>
> If you prefer good old ASCII:
>
> :: - geek friendly, may be not so understandable for "masses"
> \  - I hate this Win-path look ;)
> |  - hmm, not bad but IMO suggests equality of terms on both sides
> >  - risky


Mik, are you seen than we have a bug report in B.K.O about this subject
(:=))):

http://bugs.kde.org/show_bug.cgi?id=149966

Gilles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-devel/attachments/20071002/80e25c46/attachment.html>


More information about the Digikam-devel mailing list