<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Форум PHP-MyAdmin.RU &mdash; не могу победить вывод русских букв из базы]]></title>
	<link rel="self" href="https://forum.php-myadmin.ru/extern.php?action=feed&amp;tid=4734&amp;type=atom" />
	<updated>2019-06-05T14:05:05Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.php-myadmin.ru/viewtopic.php?id=4734</id>
		<entry>
			<title type="html"><![CDATA[Re: не могу победить вывод русских букв из базы]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=28033#p28033" />
			<content type="html"><![CDATA[<p>Проверьте как выглядит кириллица в phpMyAdmin и какая указана кодировка самих таблиц.</p>]]></content>
			<author>
				<name><![CDATA[Hanut]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=181</uri>
			</author>
			<updated>2019-06-05T14:05:05Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=28033#p28033</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[не могу победить вывод русских букв из базы]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=28032#p28032" />
			<content type="html"><![CDATA[<p>добрый день, друзья<br />не могу победить вывод русских букв из базы. <br />в базе буквы русские, а отображаются, как знаки вопросов.<br />код конфигурации <br /></p><div class="codebox"><pre><code>&lt;?php
define(&quot;DB_CHARSET&quot;, &quot;utf8&quot;);
define(&quot;DB_COLLATE&quot;, &quot;utf8&quot;);
ini_set( &quot;display_errors&quot;, true );
define( &quot;DB_DSN&quot;, &quot;mysql:host=***;dbname=***;charset=utf-8&quot; );
define( &quot;DB_DSN&quot;, &quot;mysql:host=***;dbname=***;charset=utf-8_general_ci&quot; );
define( &quot;DB_USERNAME&quot;, &quot;***&quot; );
define( &quot;DB_PASSWORD&quot;, &quot;***&quot; );
define( &quot;CLASS_PATH&quot;, &quot;classes&quot; );
define( &quot;TEMPLATE_PATH&quot;, &quot;templates&quot; );
define( &quot;HOMEPAGE_NUM_ARTICLES&quot;, 5 );
define( &quot;ADMIN_USERNAME&quot;, &quot;***&quot; );
define( &quot;ADMIN_PASSWORD&quot;, &quot;***&quot; );


require( CLASS_PATH . &quot;/Article.php&quot; );
require( CLASS_PATH . &quot;/Category.php&quot; );
require( CLASS_PATH . &quot;/Category2.php&quot; );
require( CLASS_PATH . &quot;/Category3.php&quot; );
require( CLASS_PATH . &quot;/Category3T1.php&quot; );
require( CLASS_PATH . &quot;/Category3T2.php&quot; );
require( CLASS_PATH . &quot;/Category4.php&quot; );
require( CLASS_PATH . &quot;/Category5.php&quot; );
 
function handleException( $exception ) {
  echo &quot;Sorry, a problem occurred. Please try later.&quot;;
  error_log( $exception-&gt;getMessage() );
}

set_exception_handler( &#039;handleException&#039; );
?&gt;</code></pre></div><p>проблема, так понимаю в lATIN<br />character_set_client<br />utf8mb4<br />character_set_connection<br />utf8<br />character_set_database<br />latin1<br />character_set_filesystem<br />binary<br />character_set_results<br />utf8mb4<br />character_set_server<br />latin1<br />character_set_system<br />utf8<br />character_sets_dir<br />/usr/share/percona-server/charsets/<br />check_proxy_users<br />OFF<br />collation_connection<br />utf8_unicode_ci<br />collation_database<br />latin1_swedish_ci<br />collation_server<br />latin1_swedish_ci</p>]]></content>
			<author>
				<name><![CDATA[PermStyle]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=11101</uri>
			</author>
			<updated>2019-06-04T11:14:16Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=28032#p28032</id>
		</entry>
</feed>
