• Resolved notavailable98

    (@notavailable98)


    Hi,

    I changed the “Read More” link under every post in the blog page to Hebrew, but it is shown as question marks. This is the line I modified in the file entry.php:
    <div class="ww-read-more"><a href="<?php the_permalink(); ?>" title="Read More" class="read-more-link">??? ???</a></div>

    I think this is an encoding problem since when I used Internet Explorer and changed the encoding from UTF-8 to Hebrew (Windows) the text was shown properly, however all other text in Hebrew on the site (that works fine) became Gibberish.

    URL: https://www.smartforlife.co.il/%D7%91%D7%9C%D7%95%D7%92/

    Any help would be very much appreciated, thanks in advance!

    P.S. I am not experienced in PHP.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator t-p

    (@t-p)

    Apparently, something in your environment is NOT handling utf-8 “just fine”

    If you enter something in a different language that uses UTF-8 to display, such as Hebrew (??? ???) and you get nothing but ????? then you’re not UTF-8 compliant.

    Can you see Hebrew you have written in your OP? If you dont’ see Hebrew in your OP right now, then it’s your browser.

    Thread Starter notavailable98

    (@notavailable98)

    Hello Tara,

    Thank you for your reply. I don’t know what “OP” is, however I managed to solve the problem by saving entry.php as a file with UTF-8 encoding (using Notepad > Save As…) and adding this line: header('Content-Type: text/html; charset=utf-8'); at the beginning.

    Thanks!

    Moderator t-p

    (@t-p)

    Glad you got it sorted ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Characters showing as question marks’ is closed to new replies.