moriyoshi               Mon Feb  2 04:52:00 2009 UTC

  Added files:                 
    /php-src/ext/mbstring/tests bug46843.phpt 
  Log:
  * Forgot to add the test.
  
  

http://cvs.php.net/viewvc.cgi/php-src/ext/mbstring/tests/bug46843.phpt?view=markup&rev=1.1
Index: php-src/ext/mbstring/tests/bug46843.phpt
+++ php-src/ext/mbstring/tests/bug46843.phpt
--TEST--
Bug #46843 (CP936 euro symbol is not converted properly)
--SKIPIF--
<?php extension_loaded('mbstring') or die('skip mbstring not available'); ?>
--FILE--
<?php
var_dump(bin2hex(mb_convert_encoding("\x80", 'UCS-2BE', 'CP936')));
var_dump(bin2hex(mb_convert_encoding("\x20\xac", 'CP936', 'UCS-2BE')));
?>
--EXPECT--
string(4) "20ac"
string(2) "80"



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to