I'm am having some issues showing Japanese text on my English utf-8 website I have tried the following
<?= $japan[artist];?>
but it prints out like this æ¤Žåæž—檎
I have tried to encode it that does not even print it out and I have tried html_entity_decode( $text, ENT_QUOTES, "utf-8" );
If I knew how to encode the Japanese text into UTF-8 that would help I think, but I cant seem to find any information on this or the PHP function.
The database is MongoDB not MYSQL
It worths noting that the text gets saved in JapaneseA text and not utf-8