Answer the question
In order to leave comments, you need to log in
Why are Cyrillic characters not displayed in node headers?
Tell me how to fix it?
Drupal 7.8, govideo template, only unicode characters are displayed in the page node headers, although everything is displayed normally in the page code. nelegalom . . 1
- this is how it looks on the page,
<h2 class="heading">nelegalom по Чернобыльской зоне. Сталк с МШ. Часть1</h2>
- so in the page code <h4><a href="<?php print $node_url; ?>" class="colr"><?php print truncate_utf8($title, 70, FALSE, TRUE); ?></a></h4>
Answer the question
In order to leave comments, you need to log in
Did you write the template yourself? Maybe some non-standard fonts were crookedly connected / forgotten?
I looked carefully at css, the fonts are normal, I added Arial for sure.
Cyrillic characters are displayed in one place, the code is as follows:
<a href="#" class="toc">
<span class="thumb"><?php if (isset($fields['field_video']->content)) { print $fields['field_video']->content; } if (isset($fields['field_teaserimage']->content)) { print $fields['field_teaserimage']->content; } else { if (isset($fields['field_embeddedvideo']->content)) { print $fields['field_embeddedvideo']->content; }} ?></span>
<span class="desc">
<span class="title"><?php print $fields['title']->content; ?></span>
</span>
</a>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question