Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Answering a bit late, but since I had the same problem displaying special characters as <code>č š ž</code> (which appear in Slovenian alphabet) I may aswell answer for future reference.</p> <p>Solution to this problem actually is not related to php, but to the IPTC data encoding. By default most software that can write IPTC data will store it in plain ASCII. At first I've used Adobe Bridge - which actually displays all special characters as it should when you start tagging your images - but once you want to parse that data in PHP you will actually not see special characters. (I would have to check again this part, but the main catch is that two different encodings happen - one that encodes IPTC data on the image and one that displays that data in a program that can handle IPTC data - or something along this lines).</p> <p>To solve the problem I used a program called <a href="http://www.sno.phy.queensu.ca/~phil/exiftool/" rel="nofollow">ExifTool</a> which is an amazing piece of software and will let you manage almost any data on your image. </p> <p>Than I used it to convert all IPTC encodings to UTF-8 - and from then on I just had to retag images that had corrupt characters (which Adobe Bridge correctly displays but obviously does not save in correct encoding).</p> <p>The command to accomplish this on all images in a folder is:</p> <pre><code>exiftool -tagsfromfile @ -iptc:all -codedcharacterset=utf8 </code></pre> <p>You may also want to download <a href="http://u88.n24.queensu.ca/~bogdan/" rel="nofollow">ExifTool GUI</a> if you are not familiar working from cmd.</p> <p>I haven't found any better program that could accomplish this same task faster.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload