Jump to content


Photo

quotes and "Weird characters"


  • Please log in to reply
No replies to this topic

#1 warnockm

warnockm
  • Members
  • PipPip
  • Member
  • 26 posts

Posted 23 August 2006 - 03:10 AM

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.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users