|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #62934 mb_convert_kana() does not convert iteration marks
Submitted: 2012-08-26 11:03 UTC Modified: 2012-09-21 02:19 UTC
Avg. Score:2.5 ± 0.5
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: scin dot ichi at gmail dot com Assigned: moriyoshi (profile)
Status: Closed Package: mbstring related
PHP Version: 5.3.16 OS: any platform
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: scin dot ichi at gmail dot com
New email:
PHP Version: OS:


 [2012-08-26 11:03 UTC] scin dot ichi at gmail dot com
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:
echo mb_convert_kana('あゝすゞめアヽスヾメ', 'C', 'UTF-8') . PHP_EOL;
echo mb_convert_kana('あゝすゞめアヽスヾメ', 'c', 'UTF-8') . PHP_EOL;

Expected result:

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2012-09-04 17:27 UTC] 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 
 [2012-09-21 02:19 UTC]
-Assigned To: +Assigned To: moriyoshi
 [2017-07-28 11:04 UTC]
Automatic comment on behalf of
Log: Fixed bug #62934
 [2017-07-28 11:04 UTC]
-Status: Assigned +Status: Closed
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Wed Jan 29 04:01:24 2020 UTC