Jump to content

Charset Encoding - Form Submission


Err

Recommended Posts

I had wrote a lot of stuff and I lost it all messing my browser settings... lesson learned.Basically, I have a application where I can search. The problem is when I search for characters like ¶ ® Ø I get this back: ¶®Ã�I have made sure my encoding on the page is UTF-8, made sure accept-charset="utf-8" is on the form and finally made sure my browser was set to display UTF-8. Where am I going wrong?

Link to comment
Share on other sites

I think I may have figured it out. Also, can a moderator kindly move this thread to the PHP area?Edit: *2 hours later* Confirmed. I figured it out. html_decode() and htmlentities() had to have the charset set to UTF-8.

Edited by Err
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...