Closed GoogleCodeExporter closed 8 years ago
I found one picture, but there are others...
Original comment by davito...@gmail.com
on 10 Jan 2009 at 2:54
Attachments:
Original comment by manat...@gmail.com
on 10 Jan 2009 at 11:54
Yes, your IPTC tags are encoded in latin1 or iso ... which makes this trouble.
jBrout will now try to decode iptc tags whose are not in UTF8 ...
perhaps by a simple :
http://stackoverflow.com/questions/269060/is-there-a-python-library-function-whi
ch-attempts-to-guess-the-character-encoding#273631
in this case, which must make a list of possible encodings ...
Or use something like the excellent chardet ...
http://pypi.python.org/pypi/chardet/1.0.1
Original comment by manat...@gmail.com
on 11 Jan 2009 at 11:14
fixed in r155
I used the first solution below
Now, all "jpeg comment" and "iptc tags" can be decoded from any encoding.
Original comment by manat...@gmail.com
on 11 Jan 2009 at 1:05
Ok. It works. I re-imported my full photo collection with only a few errors, but
these are different, so I will fill an new issue (36).
I am "expanding" your solution to a suggestion (issue 34)
Original comment by davito...@gmail.com
on 11 Jan 2009 at 2:26
Original issue reported on code.google.com by
davito...@gmail.com
on 10 Jan 2009 at 2:18Attachments: