php.net |  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
Votes:1
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: camaro396z28 at gmail dot com
New email:
PHP Version: OS:

 

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

Test script:
---------------
<?php

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


Expected result:
----------------
Yozhik yozhik

Actual result:
--------------
Yëzhik yëzhik

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-04-09 09:48 UTC] ab@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: ab
 [2016-04-09 09:48 UTC] ab@php.net
This seems correct with the ICU documentation, see http://userguide.icu-project.org/transforms/general#TOC-Cyrillic . 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.

Thanks.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 15:01:29 2024 UTC