|  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
47 + 20 = ?
Subscribe to this entry?

 [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-2024 The PHP Group
All rights reserved.
Last updated: Fri Feb 23 08:01:29 2024 UTC