Not signed in (Sign In)

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorshut
    • CommentTimeJun 23rd 2009
    Hello! Sorry, my english very bad ((
    When I make caption for picture in manager, caption on english saving, but on russian - not saving. Please, help me. Plogger's version is 3.
    Oh, when I add caption in MySQL table - all working. What is it?
    • CommentAuthorDestination
    • CommentTimeAug 19th 2010 edited
    I too have this problem.

    Do not save photo albums and album in Russian. Help please fix this problem.
    • CommentAuthorDestination
    • CommentTimeAug 19th 2010 edited
    Problem solved!
    1. In the file / plog-includes/plog-function.php change mysql_query ('SET NAMES utf8') for mysql_query ('SET NAMES cp1251')

    2. The file plog-load-config.php change $ config ['charset'] = 'utf-8'; to $ config ['charset'] = 'cp1251';

    Also do not forget to change the encoding in the tables MySQL!

    For Russian people:

    Проблема решена!
    1. В файле /plog-includes/plog-function.php меняем mysql_query('SET NAMES utf8') на mysql_query('SET NAMES cp1251')

    2. В файле plog-load-config.php меняем $config['charset'] = 'utf-8'; на $config['charset'] = 'cp1251';

    А также не забудьте поменять кодировку в таблицах MySQL!
    • CommentAuthorDestination
    • CommentTimeMay 19th 2012 edited
    Для корректной работы админки, на CP1251 необходимо в файле plog-admin/plog-admin.php заменить
    header('Content-Type: text/html; charset=utf-8');
    header ("Content-Type: text/html; charset=windows-1251");