No UTF-8 in Keywords?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

No UTF-8 in Keywords?

piotr_tarnowski
Hello everybody,

it seams to me that my keywords are stored in JPG in Latin1 what results
in wrong names after loading them (every not wester character replaced
with '?'). I've checked in source code and in JPG dump (od -a).

Is that true or my misunderstanding ?

I found a bug 120241 which talks about UTF-8 in comments, does Keywords
differ so much that the same method cannot be used?

/Piotr

----------------------------------------------------
"Ucieczka do przodu! Jerzy Stuhr od A do Z" - opowieść
Jerzego Stuhra o aktorstwie, kulisach teatru i życiowych przypadkach.
Już w księgarniach!
http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Fstuhr.html&sid=74


_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: No UTF-8 in Keywords?

Gilles Caulier-4
Piort,

Yes this problem will be definitivly resolved in digiKam 0.10.0 to use XMP metadata witch support UTF-8 by default.

http://digikam3rdparty.free.fr/Screenshots/digikamKDE4_12.png

IPTC and characters encoding is a mess. Nothing is clear. If you use the right IPTC encoding tag to set UTF-8, other photo-management program will lack text information (for ex photoshop).

This is why i have delayed the iptc/utf8 problem to study a right fix. A program like imatch from photools suite under win32 use a settings to converter automaticly all tag strings to utf-8.

http://www.photools.com/products.php

This is a way that i would to use in the future :

http://digikam3rdparty.free.fr/OthersSoftware/Imatch/setup-iptc.png

Gilles Caulier

2007/10/28, Piotr Tarnowski <[hidden email]>:
Hello everybody,

it seams to me that my keywords are stored in JPG in Latin1 what results
in wrong names after loading them (every not wester character replaced
with '?'). I've checked in source code and in JPG dump (od -a).

Is that true or my misunderstanding ?

I found a bug 120241 which talks about UTF-8 in comments, does Keywords
differ so much that the same method cannot be used?

/Piotr

----------------------------------------------------
"Ucieczka do przodu! Jerzy Stuhr od A do Z" - opowieść
Jerzego Stuhra o aktorstwie, kulisach teatru i życiowych przypadkach.
Już w księgarniach!
http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Fstuhr.html&sid=74


_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users


_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: No UTF-8 in Keywords?

piotr_tarnowski
Gilles,

I've made a patch ( http://bugs.kde.org/show_bug.cgi?id=151719 ) which
handles non latin1 encoding of iptc keywords.

What is interesting in this patch (IMHO) is that is preserves per image
encoding what is more flexible than what offers imatch.

Maybe you will find this idea attractive.

This is working workaround, so I can use correct spelling for my friends
names and they are not replaced with '?' while written into image.

I know it is a temporary solution but if someone else is such inpatient
as I am
please use it (for 0.9.2-final).

/Piotr

Dnia 28-10-2007 o godz. 11:23 Gilles Caulier napisał(a):
> Piort,
>
> Yes this problem will be definitivly resolved in digiKam 0.10.0 to use
XMP metadata witch support UTF-8 by default.
>
> http://digikam3rdparty.free.fr/Screenshots/digikamKDE4_12.png
>
>
> IPTC and characters encoding is a mess. Nothing is clear. If you use the
right IPTC encoding tag to set UTF-8, other photo-management program
will lack text information (for ex photoshop).
>
> This is why i have delayed the iptc/utf8 problem to study a right fix. A
program like imatch from photools suite under win32 use a settings to
converter automaticly all tag strings to utf-8.

>
>
> http://www.photools.com/products.php
>
> This is a way that i would to use in the future :
>
>
> http://digikam3rdparty.free.fr/OthersSoftware/Imatch/setup-iptc.png
>
> Gilles Caulier
>
> 2007/10/28, Piotr Tarnowski <[hidden email]
> >:> Hello everybody,
> >
> > it seams to me that my keywords are stored in JPG in Latin1 what results
> >
> > in wrong names after loading them (every not wester character replaced
> > with '?'). I've checked in source code and in JPG dump (od -a).
> >
> > Is that true or my misunderstanding ?
> >
> > I found a bug 120241 which talks about UTF-8 in comments, does Keywords
> >
> > differ so much that the same method cannot be used?
> >
> > /Piotr
> >
> > ----------------------------------------------------
> > "Ucieczka do przodu! Jerzy Stuhr od A do Z" - opowieść
> > Jerzego Stuhra o aktorstwie, kulisach teatru i życiowych przypadkach.
> >
> > Już w księgarniach!
> > http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Fstuhr.html&sid=74
> >
> >
> > _______________________________________________
> >
> > Digikam-users mailing list
> > [hidden email]
> > https://mail.kde.org/mailman/listinfo/digikam-users
> >
>

----------------------------------------------------
Poczuj moc wściekłej siły rockowych wiolonczelistow !
APOCALYPTICA na dwoch koncertach w Polsce:
04.11 Wroclaw: klub W-Z , 03.11 do warszawskiej Stodoły...
http://klik.wp.pl/?adr=http%3A%2F%2Fcorto.www.wp.pl%2Fas%2Fapocalyptica.html&sid=82


_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: No UTF-8 in Keywords?

Gilles Caulier-4
Piotr,

Sorry, but your patch is not the right way. Look all my comments in your bugzilla report.

If you is interressed to work on this subject, let's me hear. I have planed to working on in a near future. I can guide you if you want...

Gilles

2007/11/1, Piotr Tarnowski <[hidden email]>:
Gilles,

I've made a patch ( http://bugs.kde.org/show_bug.cgi?id=151719 ) which
handles non latin1 encoding of iptc keywords.

What is interesting in this patch (IMHO) is that is preserves per image
encoding what is more flexible than what offers imatch.

Maybe you will find this idea attractive.

This is working workaround, so I can use correct spelling for my friends
names and they are not replaced with '?' while written into image.

I know it is a temporary solution but if someone else is such inpatient
as I am
please use it (for 0.9.2-final).

/Piotr

Dnia 28-10-2007 o godz. 11:23 Gilles Caulier napisał(a):
> Piort,
>
> Yes this problem will be definitivly resolved in digiKam 0.10.0 to use
XMP metadata witch support UTF-8 by default.
>
> http://digikam3rdparty.free.fr/Screenshots/digikamKDE4_12.png
>
>
> IPTC and characters encoding is a mess. Nothing is clear. If you use the
right IPTC encoding tag to set UTF-8, other photo-management program
will lack text information (for ex photoshop).
>
> This is why i have delayed the iptc/utf8 problem to study a right fix. A
program like imatch from photools suite under win32 use a settings to
converter automaticly all tag strings to utf-8.

>
>
> http://www.photools.com/products.php
>
> This is a way that i would to use in the future :
>
>
> http://digikam3rdparty.free.fr/OthersSoftware/Imatch/setup-iptc.png
>
> Gilles Caulier
>
> 2007/10/28, Piotr Tarnowski <[hidden email]
> >:> Hello everybody,
> >
> > it seams to me that my keywords are stored in JPG in Latin1 what results
> >
> > in wrong names after loading them (every not wester character replaced
> > with '?'). I've checked in source code and in JPG dump (od -a).
> >
> > Is that true or my misunderstanding ?
> >
> > I found a bug 120241 which talks about UTF-8 in comments, does Keywords
> >
> > differ so much that the same method cannot be used?
> >
> > /Piotr
> >
> > ----------------------------------------------------
> > "Ucieczka do przodu! Jerzy Stuhr od A do Z" - opowieść
> > Jerzego Stuhra o aktorstwie, kulisach teatru i życiowych przypadkach.
> >
> > Już w księgarniach!
> > http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Fstuhr.html&sid=74
> >
> >
> > _______________________________________________
> >
> > Digikam-users mailing list
> > [hidden email]
> > https://mail.kde.org/mailman/listinfo/digikam-users
> >
>

----------------------------------------------------
Poczuj moc wściekłej siły rockowych wiolonczelistow !
APOCALYPTICA na dwoch koncertach w Polsce:
04.11 Wroclaw: klub W-Z , 03.11 do warszawskiej Stodoły...
http://klik.wp.pl/?adr=http%3A%2F%2Fcorto.www.wp.pl%2Fas%2Fapocalyptica.html&sid=82


_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users


_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users