]> granicus.if.org Git - php/commit
Make sure php_get_internal_encoding() returns non-empty
authorNikita Popov <nikita.ppv@gmail.com>
Tue, 31 Mar 2020 09:06:15 +0000 (11:06 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Tue, 31 Mar 2020 09:06:15 +0000 (11:06 +0200)
commit78d3af45294af06332d0d16541a33181bb3da952
treea0e29963246d271ec4f5275b529af6ad349050d9
parent3ca08ee764a372f65a2469ca72270aef32249a5b
Make sure php_get_internal_encoding() returns non-empty

Even if default_charset is set to "", we should still return
"UTF-8" as the default value here. Setting default_charset to ""
suppresses the header emission, but shouldn't change anything
about our encoding defaults.
main/main.c