Version 1.2 ()
------------------------------------------------------------------------
+ * Stricter mbstring-extension check for special charsets like czech,
+ thanks to mila
+
* Upgraded DB-scheme to allow longer author usernames
* Improved Spamblock plugin to allow filtering email addresses
static $mbstring = null;
if (is_null($mbstring)) {
- $mbstring = (extension_loaded('mbstring') ? 1 : 0);
+ $mbstring = (extension_loaded('mbstring') && @mb_internal_encoding(LANG_CHARSET) ? 1 : 0);
if ($mbstring === 1) {
if (function_exists('mb_strtoupper')) {
$mbstring = 2;