$text = "T& #236;m ki& #7871;m n& #226;ng cao";
into a unicode string within HTML so alert() can show the right thing.
I use the function below but no luck.
Code: Select all
echo "<html><head>";
echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" /></head><body>";
echo mb_convert_encoding(html_entity_decode("T& #236;m ki& #7871;m n& #226;ng cao"), 'UTF-8');exit;
What can I do? Thanks