diff options
author | fox <[email protected]> | 2020-12-16 11:06:48 +0000 |
---|---|---|
committer | Gogs <[email protected]> | 2020-12-16 11:06:48 +0000 |
commit | ef7e67936350fce7b29499d6917d2a577105c779 (patch) | |
tree | 2f0ea59f0fc41d2ffed49c78214de69ae6b54d76 /lib | |
parent | b4b2ba99effc4c6f8465e907bf95b6c2f6452fdb (diff) | |
parent | 62da307ef147b32eb214edecf1541f8ce896a700 (diff) |
Merge branch 'feature/php8' of wn/tt-rss into master
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gettext/gettext.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gettext/gettext.inc.php b/lib/gettext/gettext.inc.php index ed5be6bbd..ef36924c7 100644 --- a/lib/gettext/gettext.inc.php +++ b/lib/gettext/gettext.inc.php @@ -167,7 +167,7 @@ function _check_locale_and_function($function=false) { function _get_codeset($domain=null) { global $text_domains, $default_domain, $LC_CATEGORIES; if (!isset($domain)) $domain = $default_domain; - return (isset($text_domains[$domain]->codeset))? $text_domains[$domain]->codeset : ini_get('mbstring.internal_encoding'); + return (isset($text_domains[$domain]->codeset))? $text_domains[$domain]->codeset : ini_get('default_charset'); } /** |