[digikam] [Bug 159220] Non printable characters in IPTC keyword set by Digikam and displayed by Gallery 2

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 159220] Non printable characters in IPTC keyword set by Digikam and displayed by Gallery 2

Michal Sylwester
https://bugs.kde.org/show_bug.cgi?id=159220

Michal Sylwester <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #85355|0                           |1
        is obsolete|                            |

--- Comment #19 from Michal Sylwester <[hidden email]> ---
Created attachment 85394
  --> https://bugs.kde.org/attachment.cgi?id=85394&action=edit
Use UTF-8 when reading/writing IPTC, set charset to UTF-8.

I did a little more digging, and it seems that to store UTF-8 in IPTC it is
necessary to set IPTC:CodedCharacterSet to "\33%G", otherwise it's still ASCII.
I've updated my path to always read and save as UTF8. Conversion ASCII->UTF8
when reading should be safe. Every time a field is changed the charset is set
to UTF8, so writing should be fine as well. I think it's an overkill but
checking all the characters every time is perhaps even worse.

Apparently, other charsets could also be supported, but I couldn't find any
details...

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel