Jump to content

quotes and "Weird characters"


warnockm

Recommended Posts

I using HTML forms to copy and paste information from webpages and Word documents.  The data is stored in a mysql database (default Latin1_swedish_ci).  Certain characters, like quotes, look weird.  They will return as letters w/ accents, and even the TM trademark symbol when i view it in phpMyAdmin.  It then display correctly in HTML, and when emailed in HTML to outlook.

The problem is, i'm creating text based files that can only have ASCII, and these quotes and other characters are not showing up as the proper quotes, they are shoing up as a series of weird characters.  Is there a way to convert these quotes to normal, non-directional, quotes, or convert the encoding or charset?  I'm not really sure what i'm dealing w/ so i could use the help.

this is an example of the weird chars: – is in the sql database, pasted from a webpage.  The webpage displays in the browser as a long dash - and "–" in the html code.
Link to comment
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.