E
E
egoryich2014-04-16 08:46:27
Drupal
egoryich, 2014-04-16 08:46:27

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
. In the template, the output of the title looks like this:
<h4><a href="<?php print $node_url; ?>" class="colr"><?php print truncate_utf8($title, 70, FALSE, TRUE); ?></a></h4>

Tell me what to change to display the Cyrillic alphabet?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
U
UksusoFF, 2014-04-16
@egoryich

Did you write the template yourself? Maybe some non-standard fonts were crookedly connected / forgotten?

E
egoryich, 2014-04-16
@egoryich

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>

In the place where it is cut indicated above.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question