kódování češtiny na serveru



v /etc/my.cnf v sekci [mysqld] pridat radek:
default-character-set=win1250
popr.
default-character-set=latin2
nebo ten samy prepinac jako parametr mysqld
--default-character-set=latin2

pripadne pro utf-8:
[client]
default-character-set = utf8

[mysqld]
default-character-set = utf8
character-set-server = utf8
collation-server = utf8_czech_ci
Last update:
2012-02-15 13:00
Author:
Daniel
Revision:
1.2
Average rating:0 (0 Votes)

You can comment this FAQ

Chuck Norris has counted to infinity. Twice.