0
Hey, fellas, good morning. I created a virtual machine in Ocean with Linux Ubuntu and PHP 5.6, but when uploading the php system files, the server did not identify / interpreted the command line:
echo utf8_encode($msg)
Is there any configuration I should do in the php configuration files to enable this function or install something on the server ?
Thank you very much!
Thank you for your support. That solved this problem. But now, I have another question: I have a Hosting on Hostgator and this created on Digital Ocean. On the hostgator, the data returned from the Mysql query without PHP is returning correctly, but on the Ocean Server, the data does not return in UTF8... Would have some configuration to be made ?
– Anderson Jeff
I recommend asking another question, explaining the details of this new problem, how you built the database, even the character encoding format of your text editor can influence that, it’s very broad, try asking a new question trying to be more specific ;)
– Samuel Fontebasso