UKBouldering.com

(Read 1953 times)

underground

Offline
  • *****
  • forum hero
  • Posts: 1893
  • Karma: +57/-0
June 18, 2009, 10:27:07 pm
Why are apostrophes turning into ’ when they go into HTML?

lagerstarfish

Offline
  • *****
  • forum hero
  • Weapon Of Mass
  • Posts: 8818
  • Karma: +817/-10
  • "There's no cure for being a c#nt"
#1 Re: ’
June 18, 2009, 11:13:02 pm
coz the HTML character set does not contain an apostrophe so has to have a special magic word for it - are you having a problem getting the apostrophe to show up when not viewing in HTML mode, or just curious for the sake of it?

underground

Offline
  • *****
  • forum hero
  • Posts: 1893
  • Karma: +57/-0
#2 Re: ’
June 19, 2009, 12:32:10 am
I cut and pasted text from word into dreamweaver - and in there it looks like a normal apostrophe, but comes out on the live site as the funny characters....

slackline

Offline
  • *****
  • forum hero
  • Posts: 18863
  • Karma: +633/-26
    • Sheffield Boulder
#3 Re: ’
June 19, 2009, 12:43:07 am

lagerstarfish

Offline
  • *****
  • forum hero
  • Weapon Of Mass
  • Posts: 8818
  • Karma: +817/-10
  • "There's no cure for being a c#nt"
#4 Re: ’
June 19, 2009, 12:47:00 am
Doesn't Dreamweaver have a "clean up the shit that word generates" function? That might help  :shrug:

Could well be the difference between a proper curled apostrophe (like you'd want to print in a letter) and the little straight one like this    '     that simpler character sets use.

lagerstarfish

Offline
  • *****
  • forum hero
  • Weapon Of Mass
  • Posts: 8818
  • Karma: +817/-10
  • "There's no cure for being a c#nt"
#5 Re: ’
June 19, 2009, 12:51:54 am
You could save the word doc as a simpler type of file (like .txt) and that should get rid of any fancy character shit - then cut and paste to DW

Bubba

Offline
  • *****
  • Global Moderator
  • forum hero
  • Posts: 15367
  • Karma: +286/-6
#6 Re: ’
June 19, 2009, 02:32:31 am

What Slack--Line said....

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal