0

I just tried to insert some macedonian text which i got from my translator via email (gmail in german if that matters) into my utf8_general_ci mysql database but I couldn't figure out how to do it correctly.

Original text: "Ве молиме внесете"

  1. attempt: just copy and paste the text, result: "??? ?????? ???????"
  2. attempt: use php's iconv("ISO-8859-5", "UTF-8", $macedoniantext) and then copy and paste it, result: "?ааЕ аМаОаЛаИаМаЕ аВаНаЕбаЕбаЕ"

Both didn't work at all. Whats the right way to do it?

P.S.: There must be some way to do it because there are already some macedonian texts in the database which are also displayed correctly on the website

Rico Ocepek
  • 767
  • 6
  • 20

1 Answers1

0

Database should be UTF8 format. when output is using echo utf8_encode($text);

Hero Oo
  • 30
  • 1
  • 8