gottengeography team mailing list archive
-
gottengeography team
-
Mailing list archive
-
Message #00036
[Bug 1215249] Re: Character set (UTF-8) issues when geotagging
I know what's going on. The file is missing a metadata that tells it
what coding was used for the text.
http://www.sno.phy.queensu.ca/~phil/exiftool/faq.html#Q10
It reads: "IPTC†: The value of the IPTC:CodedCharacterSet tag determines
how the internal IPTC string values are interpreted. If
CodedCharacterSet exists and has a value of "UTF8" (or "ESC % G") then
string values are assumed to be stored as UTF‑8. Otherwise the internal
IPTC encoding is assumed to be Windows Latin1 (cp1252), but this can be
changed with "-charset iptc=CHARSET"."
So I took the GottenGeography tagged image and added the tag
exiftool -CodedCharacterSet=UTF8 08.tif
Now the output is correct in both tools
exiftool 08.tif
Coded Character Set : UTF8
Envelope Record Version : 4
City : San Martín de los Andes
Province-State : Neuquén
exiv2 -pi 08.tif
Iptc.Envelope.CharacterSet String 3
Iptc.Envelope.ModelVersion Short 1 4
Iptc.Application2.City String 24 San Martín de los Andes
Iptc.Application2.ProvinceState String 8 Neuquén
Iptc.Application2.CountryName String 9 Argentina
Iptc.Application2.RecordVersion Short 1 4
** Changed in: gottengeography
Status: Invalid => New
--
You received this bug notification because you are a member of
GottenGeography Developers, which is subscribed to GottenGeography.
https://bugs.launchpad.net/bugs/1215249
Title:
Character set (UTF-8) issues when geotagging
Status in GottenGeography - GNOME's Geotagger:
New
Status in “libimage-exiftool-perl” package in Ubuntu:
New
Bug description:
I geotagged several photos manually clicking on the map. The
application correctly stores city, province/state, and country names
in IPTC data automatically, but non ASCII characters are not handled
correctly.
In the below exiftool output City should be "San Martín de los Andes"
and Province-State should be "Neuquén".
ExifTool Version Number : 9.04
File Name : 03.tif
Directory : Descargas/Diapositivas/1974/Lago Huechulafken
File Size : 38 MB
File Modification Date/Time : 2013:08:21 23:20:19-03:00
File Access Date/Time : 2013:08:21 23:20:30-03:00
File Permissions : rw-rw-r--
File Type : TIFF
MIME Type : image/tiff
Exif Byte Order : Little-endian (Intel, II)
Subfile Type : Full-resolution Image
Image Width : 3152
Image Height : 2080
Bits Per Sample : 16 16 16
Compression : Uncompressed
Photometric Interpretation : RGB
Strip Offsets : 450
Samples Per Pixel : 3
Rows Per Strip : 2080
Strip Byte Counts : 39336960
X Resolution : 2400
Y Resolution : 2400
Planar Configuration : Chunky
Resolution Unit : inches
Current IPTC Digest : 20073f252c72833a192cb1f65d76115c
City : San MartÃn de los Andes
Province-State : Neuquén
Country-Primary Location Name : Argentina
GPS Version ID : 2.0.0.0
GPS Latitude Ref : South
GPS Longitude Ref : West
GPS Altitude Ref : Above Sea Level
GPS Map Datum : WGS-84
GPS Altitude : 0 m Above Sea Level
GPS Latitude : 39 deg 46' 30.12" S
GPS Longitude : 71 deg 28' 14.52" W
GPS Position : 39 deg 46' 30.12" S, 71 deg 28' 14.52" W
Image Size : 3152x2080
To manage notifications about this bug go to:
https://bugs.launchpad.net/gottengeography/+bug/1215249/+subscriptions