A
A
Artur Bekerov2014-03-06 10:21:29
PHP
Artur Bekerov, 2014-03-06 10:21:29

How to solve encoding problems for one letter?

Hello. flooded the site on nic.ru to the client.
Previously, I did not deal with it. I suffered a lot with all sorts of settings modules.
configured, but a strange bug got out. the letter I is not displayed. It is a capital letter.
The host has nothing to say.
The site on ihc works fine. Where to look? base in UTF. Clean installation of anchorcms
, this has never happened before. YTSUKENGSHSHCHZHFIVAPROLJEYACHSM�?TBYU.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vadim Yakovlev, 2014-03-06
@FrimInc

Try to execute query after mysql-connect

SET NAMES 'utf8';
SET collation_connection = "utf8_unicode_ci";

if you have utf

A
Alexander Zelenin, 2014-03-06
@zelenin

known issue: https://www.google.com/search?q=mysql+%D0%BF%D1%80...

F
FanatPHP, 2014-10-30
@FanatPHP

It doesn't matter if it's a single letter or 10. The database connection encoding is configured incorrectly.
You need to make sure that
- table encoding is really utf8
- connection encoding (set in mysql(i)_set_charset() or in DSN) - utf8
- site page encoding - utf-8

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question