Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Apostrophe doesn’t render

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #28566
    BKeyes
    Member

    Sorry if this has been covered before, but a search on this topic yielded hundreds of posts written by a user named apostrophe ;)

    I’m having difficulty getting an apostrophe in text to render correctly. Instead, in its place I get ’

    You can see an example of it here: http://www.union-psce.edu/prospective/a … /staff.php

    Any help is much appreciated – TIA.

    #73144
    noahgelman
    Participant

    replace the apostrophe in your html with &_ #39;

    #73161
    TheDoc
    Member

    If you make sure the page has UTF-8 encoding, you shouldn’t have to worry about that kind of thing.

    I also use ’ instead of the example above.

    #73172
    BKeyes
    Member

    Thanks — I went in to the html and saw that it had a string of strange characters where the apostrophe was supposed be. I replaced those with an apostrophe and that seems to have done the trick. Apparently there was a bit of a hiccup when composing in the WYSIWYG editor.

    Thanks again —

    #142659
    larrydx
    Member

    Had the same problem. TheDoc is right. It can happen if you copy the text from a MS Word document (which uses different encoding) into the editor you use.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘CSS’ is closed to new topics and replies.