mirror of
https://github.com/php/php-src.git
synced 2026-03-24 08:12:21 +01:00
This is a mix of more automated and manual migration. It should remove all applicable extension_loaded() checks outside of skipif.inc files.
12 lines
253 B
PHP
12 lines
253 B
PHP
--TEST--
|
|
Bug #60306 (Characters lost while converting from cp936 to utf8)
|
|
--EXTENSIONS--
|
|
mbstring
|
|
--FILE--
|
|
<?php
|
|
$s = "洪仁玕";
|
|
var_dump($s === mb_convert_encoding(mb_convert_encoding($s, "cp936", "utf8"), "utf8", "cp936"));
|
|
?>
|
|
--EXPECT--
|
|
bool(true)
|