I created a console controller. There is an action in it. In this action, the database gets an entry in which there is a field with the Russian text.

How to make the text in the console displayed in Russian characters?

  • one
    I suppose that the problem is not in PHP but in the OS settings. Although you can of course convert the encoding before output. iconv mb_convert_encoding - Ninazu
  • Set the console to use the default encoding UTF-8. I do not know how in others, in my beloved ZOC - it is possible. - Goncharov Alexander

0