Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.