Always set universal/UTF-8.
This commit is contained in:
parent
25b8dbcb42
commit
6603e9b835
@ -50,13 +50,8 @@ if (!defined('serendipity_LANG_LOADED') || serendipity_LANG_LOADED !== true) {
|
|||||||
if (!defined('serendipity_MB_LOADED') && defined('serendipity_LANG_LOADED')) {
|
if (!defined('serendipity_MB_LOADED') && defined('serendipity_LANG_LOADED')) {
|
||||||
// Needs to be included here because we need access to constant LANG_CHARSET definied in languages (not available for compat.inc.php)
|
// Needs to be included here because we need access to constant LANG_CHARSET definied in languages (not available for compat.inc.php)
|
||||||
|
|
||||||
if (function_exists('mb_language')) {
|
@mb_language('uni');
|
||||||
@mb_language('uni'); // TODO: test for non-unicode installations
|
@mb_internal_encoding('UTF-8');
|
||||||
}
|
|
||||||
|
|
||||||
if (function_exists('mb_internal_encoding')) {
|
|
||||||
@mb_internal_encoding(LANG_CHARSET);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Wrapper for multibyte string operations
|
* Wrapper for multibyte string operations
|
||||||
|
Loading…
x
Reference in New Issue
Block a user