mirror of
https://github.com/php/php-src.git
synced 2025-08-17 22:48:57 +02:00
'auto' encoding was not initialized correctly per request basis.
This commit is contained in:
parent
47c7035ea6
commit
852bf6e55a
1 changed files with 2 additions and 0 deletions
|
@ -888,6 +888,8 @@ PHP_RINIT_FUNCTION(mbstring)
|
|||
const struct mb_overload_def *p;
|
||||
|
||||
MBSTRG(current_language) = MBSTRG(language);
|
||||
php_mb_nls_get_default_detect_order_list(MBSTRG(language),
|
||||
&MBSTRG(default_detect_order_list), &MBSTRG(default_detect_order_list_size));
|
||||
|
||||
if (MBSTRG(internal_encoding) == mbfl_no_encoding_invalid) {
|
||||
char *default_enc = NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue