Y
Y
Yuriy2017-03-10 11:43:54
PHP
Yuriy, 2017-03-10 11:43:54

How to translate typed text from Latin to Cyrillic and vice versa?

The search on the site is done through sphinx
.
d222aad38e4f46da84875b0e42a9d7c1.png

Answer the question

In order to leave comments, you need to log in

4 answer(s)
D
dinegnet, 2017-03-10
@dinegnet

decide what will be in the Sphinx, what is the main layout / encoding.
And EVERYTHING - both the initial filling of the Sphinx database and the search query - is converted into this encoding / layout.

R
Rastishka, 2017-03-10
@Rastishka

I'm just looking in the database for the original string and for the inverted one.

P
Puma Thailand, 2017-03-10
@opium

just do it in code without a sphinx.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question