ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Foreign Characters Shows Question Marks Diamonds

February 12, 2014 4:01pm

Subscribe [2]
  • #1 / Feb 12, 2014 4:01pm

    Klauss

    33 posts

    Hey there, I have a problem, I have romainian character into the titles, but this code :

    {exp:channel:entries channel="filme" orderby="title" sort="asc" dynamic="off" limit="1000"}
    <?php
    $letter = strtoupper(mb_substr(’{title}’, 0, 1));
    if ($temp != $letter) {
    echo "”.$letter.””;
      $temp = $letter;
    }
    ?>

    {/exp:channel:entries}

    Shows me on ș ț ă î something like these :�

  • #2 / Feb 25, 2014 7:43am

    Ñuño Martínez

    60 posts

    Obviously there’s a problem with character codification Be sure your HTML document has the correct charset defined in the header.  Also you may use HTML entities, as they don’t need any specific charset.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases