??? php encoding problems by mysql collation

The problem in php encoding with latin1 in mysql collation:

Unicode-ruso-ru-php-mysql

The solution is to change mysql collation in table and column fields to utf8_unicode_ci:

Unicode-ruso-ru-phpmyadmin

The conclusion is that you should use utf8_unicode_ci collation in mysql for your projects so as to they can be internationalized.

Anuncis

Etiquetes:

Deixa un comentari

Fill in your details below or click an icon to log in:

WordPress.com Logo

Esteu comentant fent servir el compte WordPress.com. Log Out / Canvia )

Twitter picture

Esteu comentant fent servir el compte Twitter. Log Out / Canvia )

Facebook photo

Esteu comentant fent servir el compte Facebook. Log Out / Canvia )

Google+ photo

Esteu comentant fent servir el compte Google+. Log Out / Canvia )

Connecting to %s


%d bloggers like this: