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

Leave a Reply

Ваш адрес email не будет опубликован.

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>