Jump to content

Archived

This topic is now archived and is closed to further replies.

warnockm

quotes and "Weird characters"

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.

Share this post


Link to post
Share on other sites

×

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.