D
D
Doniyor Mamatkulov2016-01-20 14:22:26
Yii
Doniyor Mamatkulov, 2016-01-20 14:22:26

How to avoid encoding problem when translating in Yii?

Hey everyone!
I made multilingualism on the site as shown here: habrahabr.ru/post/139689 The problem is that when I write Yii::t('blog', 'someTitile') in English everything is translated without problems, but in Russian (in Cyrillic ) either returns null or something like "\u041a\u0430\u0437\u0430\u0445\u0441\u0442\u0430\u043d"

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question