Apache+PHP + UTF-8

Добавить в .htaccess.

# unicode support
AddDefaultCharset utf-8

CharsetDIsable on
CharsetRecodeMultipartForms Off

php_value mbstring.func_overload 7
php_value default_charset UTF-8
php_value mbstring.language Russian
php_value mbstring.internal_encoding UTF-8
php_flag mbstring.encoding_translation on
php_value mbstring.http_input “UTF-8,KOI8-R,CP1251”
php_value mbstring.http_output UTF-8
php_value mbstring.detect_order “UTF-8,KOI8-R,CP1251”
# end

Добавить комментарий

Ваш e-mail не будет опубликован.