Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7726643
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T05:16:01+00:00 2026-06-01T05:16:01+00:00

Please go here to see my problem, its within the card on the left

  • 0

Please go here to see my problem, its within the card on the left hand side of the page:
http://gumonshoe.net/magic/card/?card=258

Apostrophes are getting converted to ascii it looks like from various foreign text formats. I’ve seen this, but since I’m using american english which is probably the basic defaults I can’t reproduce the error to test it.

I figure there’s got to be a correct way to be passing the characters around, I just don’t know what it is.

The answer I’m looking for will tell me where in this chain things are getting messed up.

User Form on web page for input >>
javascript method >>
php >>
mysql

As far as I can tell this is happening in PHP. Its definitely wrong in the database by the time it gets there.

I’d be most happy with a solution that fixes everything from this point on, rather than a patch to fix what’s in the db already as I can just find/replace those instances easily enough.

Thanks for all the help. Searching gave me mixed results, but I couldn’t find anything that outright seemed identical to my problem and explained it from the basics up.

Again, thanks much!

Does it have anything to do with this:

mb_internal_encoding
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T05:16:03+00:00Added an answer on June 1, 2026 at 5:16 am

    It does not happen in just one place, it always happens in the communication between two ends. That could be in the communication between browser<->php or php<->mysql

    You should make sure to have a charset meta tag in your html header, something like:

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    

    That way, your web browser knows what charset to use when posting data to your server (and what charset to use when rendering your page).

    When connecting to mysql, you should make sure that your connection is speaking the same charset at both ends, and that should be the same charset as the web browser is using:

    mysql_query('set names utf8');
    

    Now, you should be fine.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Please see the demo here: http://jsfiddle.net/Freewind/Vkp4U/ The html: <div class=outer> <div class=x>x</div> <div class=y>y</div>
Here you can see a representation of the problem I need to solve http://imageshack.us/photo/my-images/542/002yw.png
I have created a JSFiddle of my case here: http://jsfiddle.net/gGCaX/ (Please take a look,
Please see here for a related question . However, char goes to 0xffff (or
Please take a look here: alt text http://img16.imageshack.us/img16/2810/errrp.jpg Why i got that error when
Here is the problem. I have spring 3.0.5, using its new DATA JPA repository
Can someone visually explain what's going on here please. var stack = []; function
Please refer my previous post here . I did changes accordingly but getting error.
Please help me out here because im getting kind of confused.. I have a
Please look at this image here is 3 tables , and out i want

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.