1

(99 replies, posted in PunBB 1.3 additions)

Russian translation is almost ready. There is only a part of admin panel to translate.

Why would those messages need to show UTF-8 characters?

Because in other way national charachters will not be shown correctly.

Look at file install.php

There are many messages, which have no headers:

if (file_exists(PUN_ROOT.'config.php'))
    exit('The file \'config.php\' already exists which would mean that PunBB is already installed. You should go <a href="index.php">here</a> instead.');

(lines 34-35)

if (!function_exists('version_compare') || version_compare(PHP_VERSION, MIN_PHP_VERSION, '<'))
    exit('You are running PHP version '.PHP_VERSION.'. PunBB requires at least PHP '.MIN_PHP_VERSION.' to run properly. You must upgrade your PHP installation before you can continue.');

(lines 39-40)

etc.

In Gecko browsers these messages are shown in ISO encode, so, if I use some symbols in UTF-8, they won't be shown correct. Fix it please:

if (file_exists(PUN_ROOT.'config.php'))
    {
    header('Content-Type: text/html; charset=utf-8');
    exit('The file \'config.php\' already exists which would mean that PunBB is already installed. You should go <a href="index.php">here</a> instead.');
    }
if (!function_exists('version_compare') || version_compare(PHP_VERSION, MIN_PHP_VERSION, '<'))
    {
    header('Content-Type: text/html; charset=utf-8');
    exit('You are running PHP version '.PHP_VERSION.'. PunBB requires at least PHP '.MIN_PHP_VERSION.' to run properly. You must upgrade your PHP installation before you can continue.');
    }

P.S. It seems to me, that PunBB 1.3 can work only with english as default language...

4

(98 replies, posted in News)

Cool update! All the old bags are fixed.