Jump to content

how to tell php to set into Utf-8?


gudfry

Recommended Posts

hi all;

 

        i was creating a function to tell the php to set into Utf-8, but i got a problem wiht it. Im looking for a good resource of code that tell the php to set only a Utf-8,

 

        here is sample code.

 

     

die("Cannot set encoding to UTF-8 in common<n>.php");

if (!mb_http_output("UTF-8"))

die("Cannot set encoding to UTF-8 in common<n>.php");

       

     

can anyone help me to make this code work's, thanks for advance. :)
Link to comment
https://forums.phpfreaks.com/topic/119796-how-to-tell-php-to-set-into-utf-8/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.