Certain diacritic characters can't be displayed

After upgrading to 1.1.6 only certain diacritic characters can't be displayed. Out of 5 (šđžčć) 3 are replaced with ? (ž?š??) Is this a bug after implementing utf-8 as default character set or it could be fixed somehow?

Comments

  • acrylian Administrator, Developer
    Hm, they are working for me. Do your theme files match to the encoding you set in the admin? They not only need the encoding set in the header, they need to be saved with the file encoding, too. Did you try to set a encoding that matches directly your language?
  • vidisad Member
    acrylian: Do your theme files match to the encoding you set in the admin?

    Yes, they match. It's utf-8 what should be for my language to be displayed.

    acrylian: They not only need the encoding set in the header, they need to be saved with the file encoding, too.

    I that too. I saved all php files in default theme as utf-8 encoding and the same error. Btw, non of the files in default theme had any reference to utf-8.

    acrylian: Did you try to set a encoding that matches directly your language?

    I did try that too but the same error. I have the same problem in WordPress after they start using utf-8 as default charset. Before that I didn't have that issue but after I upgraded I got the same problem with this 3 characters. They say problem comes from MySQL and changing charset and collation to utf-8. They posted a converter to fix the problem but I didn't dare to try it yet.
  • acrylian Administrator, Developer
    Then this might be related to the encoding used in your database, too. Which encoding does that use? Mine uses the default setting "latin1_swedish_ci", but I just entered the characters in question to test it. Do they work if you enter then freshly?
    I had German öüä before 1.1.6 still work, but I encountered similar things before, too.

    Lots of different places to look...These encoding things are not the easiest....I have no idea why this happens suddenly.

    (BTW, I believe utf8 has been the default character set before.)
  • vidisad Member
    I had my site and zenphoto 1.1.5 installed on a different server/host. I did not have that problem. When i moved to new host and had to reinstall zenphoto and start from scratch, installed 1.1.5 and updated with 1.1.6. Then I noticed the problem. I can write the diacritics in question but after saving the work 3 of them turns to question mark. My database use the same encoding as yours.
  • acrylian Administrator, Developer
    I am sorry, I don't have any good idea then. Did you try to choose another encoding in the admin?
Sign In or Register to comment.