Bug #62934 [Asn->Csd]: mb_convert_kana() does not convert iteration marks

From: Date: Fri, 28 Jul 2017 11:04:16 +0000
Subject: Bug #62934 [Asn->Csd]: mb_convert_kana() does not convert iteration marks
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-210393@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=62934&edit=1 ID: 62934 Updated by: nikic@php.net Reported by: scin dot ichi at gmail dot com Summary: mb_convert_kana() does not convert iteration marks -Status: Assigned +Status: Closed Type: Bug Package: mbstring related Operating System: any platform PHP Version: 5.3.16 Assigned To: moriyoshi Block user comment: N Private report: N New Comment: Automatic comment on behalf of nikita.ppv@gmail.com Revision: http://git.php.net/?p=php-src.git;a=commit;h=e3d25e78eb73c7b7bce0cd175578f7ce32741c5f Log: Fixed bug #62934 Previous Comments: ------------------------------------------------------------------------ [2012-09-04 17:27:26] ajf at ajf dot me Had a look. Turns out this is an issue with libmbfl, which mbstring uses. Not sure if it can be updated or not, someone else should look into it. But it's not an issue with mbstring itself, mb_convert_kana passes through to mbl_ja_jp_hantozen. ------------------------------------------------------------------------ [2012-08-26 11:03:05] scin dot ichi at gmail dot com 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 this bug report at https://bugs.php.net/bug.php?id=62934&edit=1

« previous php.bugs (#210393) next »