ID: 47166 Updated by: [email protected] Reported By: lunter at interia dot pl -Status: Open +Status: Wont fix Bug Type: Unicode Engine related Operating System: all PHP Version: 6CVS-2009-01-20 (snap) New Comment:
There's no good way to do a simple checking, in fact we'd have to convert it internally and then throw the result away. Previous Comments: ------------------------------------------------------------------------ [2009-01-20 11:47:49] lunter at interia dot pl Description: ------------ bool unicode_is_decodable ( string $input , string $encoding ) Return true when convert a binary string encoded in encoding to a unicode string is possible witout errors. To prevent emits a E_WARNING level error if a converter cannot be created for the desired encoding by unicode_decode . Reproduce code: --------------- n/a Expected result: ---------------- n/a Actual result: -------------- n/a ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=47166&edit=1
