Pixelpost Forum

Pixelpost Forum (http://www.pixelpost.org/forum/index.php)
-   Russian (http://www.pixelpost.org/forum/forumdisplay.php?f=43)
-   -   Pixelpost 1.5, UTF-8 и русские символы (http://www.pixelpost.org/forum/showthread.php?t=5437)

klimin_a_s 11-05-2006 04:59 AM

Pixelpost 1.5, UTF-8 и русские символы
 
Изначально Pixelpost поддерживает кодировку utf-8 по умолчанию. Русские символы храняться в базе и выводяться в html-код в кодировке utf-8. Но автоопределение кодировки Pixelpost 1.5 не работает ни с одним браузером:


Если задать кодировку utf-8 явно, то все в порядке. Получилось ли у кого-нибудь корректно установить Pixelpost 1.5 с utf-8 и нормальным определением кодировки и отображением русских символов?

klimin_a_s 11-05-2006 05:33 AM

Проблема решена. Дело не в Pixelpost, а в кодировке по-умолчанию, принятому у компании-хостера. Для переопределения кодировки (в нашем случае - utf-8), создайте файл с именем .htaccess в корневой папке, где установлен Pixelpost, со следующим содержимым:

Code:

AddDefaultCharset utf-8

Connie 11-05-2006 07:08 AM

Po angliski, poshalista!

but I can tell you that PP is completely UTF-8 compatible, if your server sends UTF-8 in the header, the browser is set to UTF-8 and the template is edited and saved in UTF-8

klimin_a_s 11-05-2006 08:29 AM

Quote:

Originally Posted by Connie (Post 39008)
Po angliski, poshalista!
but I can tell you that PP is completely UTF-8 compatible, if your server sends UTF-8 in the header, the browser is set to UTF-8 and the template is edited and saved in UTF-8

The Pixelpost is not a course of that problem. The problem was in the httpd.conf (or .htaccess) of Apache, that changes the default codepage to windows-1251. Now, all of my problems with PP and utf-8 solved! Thank you!

p.s. But I cannot explain, why the Wordpress UTF-8 installation is function very well without specific setup of Apache server by the same account of the same hosting-company.

Connie 11-05-2006 09:03 AM

Andrej,

I am a great russophile... have a look at www.zweiterblick.de and my other sites ;=)

I am proud to see russian photos in a photoblog where I cooperated!

poka, Connie

klimin_a_s 11-05-2006 09:19 AM

Connie, thank you very much! Sorry, but I can't speak Deutsch... :)

I am sorry for your hard-disk crash... This photo is very "russian" :)

Thank you for Pixelpost!

zolotoiy 11-07-2006 06:54 PM

Few people commented in Russian in my blog (PP 1.5), all looks good. I didn't change any configuration settings for this, I guess my host installed Apache properly :)


All times are GMT. The time now is 11:02 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.