Jump to content

PHP and character sets


MrManager

Recommended Posts

I recently moved my site to a different server which seems to use UTF-8 instead of the normal ISO-8859-1 character encoding. Since my scripts and my data all use the old encoding, I would like to switch the server back to ISO.

 

I know I can change the default_charset variable in the php.ini, but as far as I know that would only change the character set for output. What I need is a way to change the data in $_POST and $_GET to use ISO-8859-1 as well.

 

Can anybody help me?

Link to comment
https://forums.phpfreaks.com/topic/71273-php-and-character-sets/
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.