0

I have this string fetched from Database:

$string = "Meubles salle Ã";

Some characters are not fetched in right order as they suppose to be.

How can I convert them into its original format?

Things I tried:

echo utf8_decode($string);

echo utf8_encode($string);

echo htmlentities($string);

echo htmlentities($string,0,"UTF-8");

Nothing works. Can anyone provide me a solid and perfect solution for this ? Thanks

Hassan Sardar
  • 4,413
  • 17
  • 56
  • 92

0 Answers0