Search code examples
phputf-8character-encodingcyrillic

mb_convert_encoding for russian in php


how to convert Russian character to utf-8 in PHP using mb_convert_encoding or any other method?


Solution

  • Did you try the following? Not sure if it works, though.

    mb_convert_encoding($str, 'UTF-8', 'auto');