-
-
Notifications
You must be signed in to change notification settings - Fork 8k
Description
What version of Hugo are you using (hugo version
)?
Hugo Static Site Generator v0.79.1/extended darwin/amd64 BuildDate: unknown
(Installed using homebrew)
Does this issue reproduce with the latest release?
Yes
Description
I'm using Hugo to build a photo gallery website, and using the data in the imagedescription
tag in the EXIF data to display a description below the image. I have noticed that images with non ASCII characters in the field have this element missing in the EXIF object.
Steps to reproduce
Use the Exif.Tags.ImageDescription
to display the image description in a template with a description like this:
Città del Vaticano #vatican #vaticancity
Observe that the Exif.Tags.ImageDescription
variable is empty
Use the same template with an image description like this:
Citta del Vaticano #vatican #vaticancity
Observe that the Exif.Tags.ImageDescription
variable contains the description from the image.
Other characters that I've seen that cause this issue are:
“
instead of "
or ‘
instead of '
or any emoji character
Additional information
The EXIF tags are being written with version 12 of exiftool