mb_convert_encoding for russian in php

coderex picture coderex · Jul 27, 2009 · Viewed 22.3k times · Source

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

Answer

fresskoma picture fresskoma · Jul 27, 2009

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

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