“Smart Quotes are the bane of my existence”

This is mainly because they typically turn into broken characters the second they are added to a database (depending on the encoding). Here’s a quick (frontend) fix to find/replace on paste using jQuery:

1 Comments

  1. Joe the web weenie

    Great snippet. I had to change “.on” to “.bind” for it to work. I hope this helps someone else out there.

  2. Pingback: traiteur rabat

Leave a Reply

Your email address will not be published. Required fields are marked *