Bug #62934 [NEW]: mb_convert_kana() does not convert iteration marks

From: Date: Sun, 26 Aug 2012 11:03:05 +0000
Subject: Bug #62934 [NEW]: mb_convert_kana() does not convert iteration marks
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-172918@lists.php.net to get a copy of this message
From: scin dot ichi at gmail dot com Operating system: any platform PHP version: 5.3.16 Package: mbstring related Bug Type: Bug Bug description:mb_convert_kana() does not convert iteration marks Description: ------------ mb_convert_kana() does not convert japanese iteration marks (odori-ji). * Hiragana to Katakana ($option = 'C') ゝ and ゞ must be converted ヽ and ヾ * Katakana to Hiragana ($option = 'c') ヽ and ヾ must be converted ゝ and ゞ Test script: --------------- <?php echo mb_convert_kana('あゝすゞめアヽスヾメ', 'C', 'UTF-8') . PHP_EOL; echo mb_convert_kana('あゝすゞめアヽスヾメ', 'c', 'UTF-8') . PHP_EOL; Expected result: ---------------- アヽスヾメアヽスヾメ あゝすゞめあゝすゞめ Actual result: -------------- アゝスゞメアヽスヾメ あゝすゞめあヽすヾめ -- Edit bug report at https://bugs.php.net/bug.php?id=62934&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=62934&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=62934&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=62934&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=62934&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=62934&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=62934&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=62934&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=62934&r=needscript Try newer version: https://bugs.php.net/fix.php?id=62934&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=62934&r=support Expected behavior: https://bugs.php.net/fix.php?id=62934&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=62934&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=62934&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=62934&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=62934&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=62934&r=dst IIS Stability: https://bugs.php.net/fix.php?id=62934&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=62934&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=62934&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=62934&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=62934&r=mysqlcfg

« previous php.bugs (#172918) next »