Umlauts in IPTC data
Posted: 02 Jul 2012, 15:19
Hi there. First of all congrats to the new version. It's awesome what you guys do.
Still - I do have issues with my IPTC data that contain umlauts such as ä,é,è,ü, ö and many more. I had a look at the code and you might want to look in following part in ivMapperXmlFile.class.php:
I have changed the 5 section according to following
This change actually corrects the missing umlauts that otherwise get deleted from the title and descriptions.
Check live here: http://www.hirst.ch/#/test/exif/german.jpg
Maybe you can check and fix this in a following release?
Thanks and regards
Still - I do have issues with my IPTC data that contain umlauts such as ä,é,è,ü, ö and many more. I had a look at the code and you might want to look in following part in ivMapperXmlFile.class.php:
Code
if (!empty($title)) {
$record->title = stripNonUtf8Chars($title);
}
Code
if (!empty($title)) {
$record->title = mb_convert_encoding($title, "UTF-8", mb_detect_encoding($title, "UTF-8, ISO-8859-1", true)); //solves issues with different special characters
}
Check live here: http://www.hirst.ch/#/test/exif/german.jpg
Maybe you can check and fix this in a following release?
Thanks and regards