<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>THE MOLITOR FORUMS &#187; Topic: Problem with the display tags on cyrillic</title>
		<link>http://www.themolitor.com/forums/topic/problem-with-the-display-tags-on-cyrillic</link>
		<description>THE MOLITOR FORUMS &#187; Topic: Problem with the display tags on cyrillic</description>
		<language>en-US</language>
		<pubDate>Tue, 28 Apr 2026 05:06:02 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.themolitor.com/forums/search.php</link>
		</textInput>
		<atom:link href="http://www.themolitor.com/forums/rss/topic/problem-with-the-display-tags-on-cyrillic" rel="self" type="application/rss+xml" />

		<item>
			<title>THE MOLITOR on "Problem with the display tags on cyrillic"</title>
			<link>http://www.themolitor.com/forums/topic/problem-with-the-display-tags-on-cyrillic#post-42991</link>
			<pubDate>Mon, 04 Jun 2018 11:40:34 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">42991@http://www.themolitor.com/forums/</guid>
			<description><p>Thanks for following up!
</p></description>
		</item>
		<item>
			<title>poganecz on "Problem with the display tags on cyrillic"</title>
			<link>http://www.themolitor.com/forums/topic/problem-with-the-display-tags-on-cyrillic#post-42985</link>
			<pubDate>Sun, 03 Jun 2018 04:54:20 +0000</pubDate>
			<dc:creator>poganecz</dc:creator>
			<guid isPermaLink="false">42985@http://www.themolitor.com/forums/</guid>
			<description><p>Hi, I solved this problem myself. My site: dvn-art.ru</p>
<p>Instead of -&#62; $first_letter =mb_strtoupper(mb_substr($tag-&#62;name, 0, 1, 'UTF-8'), 'UTF-8');</p>
<p>May come in handy for future updates. Have a nice day.</p>
<p>Now my file t-tags.php is</p>
<pre><code>&#60;?php
/*
Template Name: Tag Index
*/
setlocale(LC_ALL, &#039;ru_RU.utf-8&#039;);
	$list = &#039;&#039;;
	$tags = get_terms( &#039;post_tag&#039; );
	$groups = array();
	if( $tags &#38;&#38; is_array( $tags ) ) {
		foreach( $tags as $tag ) {
			$first_letter =mb_strtoupper(mb_substr($tag-&#62;name, 0, 1, &#039;UTF-8&#039;), &#039;UTF-8&#039;);
			$groups[ $first_letter ][] = $tag;
		}
		if( !empty( $groups ) ) {
			foreach( $groups as $letter =&#62; $tags ) {
				$list .= &#34;\n\t&#34; . &#039;&#60;h2&#62;&#039; . apply_filters( &#039;the_title&#039;, $letter ) . &#039;&#60;/h2&#62;&#039;;
				$list .= &#34;\n\t&#34; . &#039;
&#60;ul&#62;&#039;;
				foreach( $tags as $tag ) {
					$url = esc_attr( get_tag_link( $tag-&#62;term_id ) );
					$count = intval( $tag-&#62;count );
					$name = apply_filters( &#039;the_title&#039;, $tag-&#62;name );
					$list .= &#34;\n\t\t&#34; . &#039;
&#60;li&#62;&#60;a href=&#34;&#039; . $url . &#039;&#34;&#62;&#039; . $name . &#039;&#60;span&#62;&#039; . $count . &#039;&#60;/span&#62;&#60;/a&#62;&#60;/li&#62;
&#039;;
					}
				$list .= &#34;\n\t&#34; . &#039;&#039;;
				$list .= &#34;\n\t&#34; . &#039;&#60;/ul&#62;
&#039;;
			}
		}
	}else $list .= &#34;\n\t&#34; . &#039;&#60;p&#62;&#039;.__(&#039;Sorry, but no tags were found&#039;,&#039;the-novelist&#039;).&#039;&#60;/p&#62;&#039;;

get_header();?&#62;

	&#60;div id=&#34;main&#34;&#62;
		&#60;h2 class=&#34;entrytitle&#34;&#62;&#60;?php the_title();?&#62;&#60;/h2&#62;
		&#60;div class=&#34;entry&#34; id=&#34;tagList&#34;&#62;
			&#60;?php print $list; ?&#62;
		&#60;/div&#62;
	&#60;/div&#62;&#60;!-- end main --&#62;

&#60;?php get_footer();?&#62;</code></pre></description>
		</item>
		<item>
			<title>THE MOLITOR on "Problem with the display tags on cyrillic"</title>
			<link>http://www.themolitor.com/forums/topic/problem-with-the-display-tags-on-cyrillic#post-42976</link>
			<pubDate>Fri, 01 Jun 2018 13:18:15 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">42976@http://www.themolitor.com/forums/</guid>
			<description><p>Hi there,</p>
<p>Can you provide a link to your site so I can check this out? It will help me troubleshoot the issue you're having.</p>
<p>Best,</p>
<p>Christopher
</p></description>
		</item>
		<item>
			<title>poganecz on "Problem with the display tags on cyrillic"</title>
			<link>http://www.themolitor.com/forums/topic/problem-with-the-display-tags-on-cyrillic#post-42958</link>
			<pubDate>Wed, 23 May 2018 14:05:42 +0000</pubDate>
			<dc:creator>poganecz</dc:creator>
			<guid isPermaLink="false">42958@http://www.themolitor.com/forums/</guid>
			<description><p>locale set as utf-8, but the function strtoupper in t-tags.php file does not work
</p></description>
		</item>
		<item>
			<title>poganecz on "Problem with the display tags on cyrillic"</title>
			<link>http://www.themolitor.com/forums/topic/problem-with-the-display-tags-on-cyrillic#post-42957</link>
			<pubDate>Mon, 21 May 2018 12:10:28 +0000</pubDate>
			<dc:creator>poganecz</dc:creator>
			<guid isPermaLink="false">42957@http://www.themolitor.com/forums/</guid>
			<description><p>Hi, thanks for the excellent work. I have a small problem with displaying Cyrillic tags on index paige (problems with encoding). H2 title letters look like �. Tell me please, how to solve this problem.
</p></description>
		</item>

	</channel>
</rss>
