Example i have: Здравейте - Translation is (hello); I need function to convert these Bulgarian letters to English letters Example: $text = 'Здравейте'; echo convert($text); // Results should be Zdraveite. PHP:
Never used it, but check out mb_convert_encoding(): $utf8String = mb_convert_encoding ($sourceString, 'UTF-8', 'US-ASCII'); PHP: