You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ToAscii: Some russian texts in Cyrillic (Azbuka) are wrong rewrited #203
Activity
dg commentedon Oct 29, 2019
Do you have enabled Transliterator?
utils/src/Utils/Strings.php
Line 141 in c133e18
utils/src/Utils/Strings.php
Line 154 in c133e18
janbarasek commentedon Oct 29, 2019
@dg Yes,
Transliteratorwas instanced andICONV_IMPLislibiconv.I detected it by:
Dumped:
Thanks.
dg commentedon Oct 29, 2019
Transliterator converts
яtoâ(according to ISO 9 https://cs.wikipedia.org/wiki/ISO_9) and thenâtoa.Probably solution is to add
strtrfor charsЯ я Ю юand maybe some others.janbarasek commentedon Oct 29, 2019
I think we can use (for Czech language):
But for correct behavior is very important use target language (which can be loaded from second parameter
string $language = 'en').And table for English:
Strings::toAscii transliterates я/ю as ya/yu [Closes #203]
Strings::toAscii transliterates я/ю as ya/yu [Closes #203]