|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #66693 Wrong transliteration of "Ё" letter
Submitted: 2014-02-11 06:14 UTC Modified: 2016-04-09 09:48 UTC
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: camaro396z28 at gmail dot com Assigned: ab (profile)
Status: Closed Package: intl (PECL)
PHP Version: 5.5.9 OS: Windows 7 Ultimate x64
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: camaro396z28 at gmail dot com
New email:
PHP Version: OS:


 [2014-02-11 06:14 UTC] camaro396z28 at gmail dot com
The Transliterator class can't transliterate russian "Ё" letter properly.

Test script:

$transliterator = Transliterator::create('Russian-Latin/BGN', Transliterator::FORWARD);
$str = 'Ёжик ёжик';
echo $transliterator->transliterate($str);

Expected result:
Yozhik yozhik

Actual result:
Yëzhik yëzhik


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2016-04-09 09:48 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: ab
 [2016-04-09 09:48 UTC]
This seems correct with the ICU documentation, see . PHP only wraps it. You could try "Cyrillic-Latin;NFD;[:mark:]Remove" or alike to convert to ASCII, that would bring similar results. Otherwise it's only up to ICU to implement other translit variants.

PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sun Nov 29 09:01:24 2020 UTC