? on web pages

by 7 replies
8
What encoding is needed to prevent question marks from appearing on web page?

thanks
#programming #pages #web
  • Not sure what you mean. Can you please elaborate on your question?
    • [1] reply
    • Any chance you are copy/pasting from a word doc rather than from text? That can insert some odd characters but usually more than just "?"
  • Usually its the encoding of the page. Try setting it to UTF-8, that might height..

    The most common reason why this is happening, is that the content is coming from MS Word, and WORD is notorius for insert weird characters into text.

    So the way to handle the text (even if it never came from word), is :

    1. Copy the text and insert in to NOTEPAD (comes with Windows)

    2. Then copy and text from NOTEPAD and insert it into your website. This will fix something like 95% of all the "?" symbols you see..

    Also make sure you replace all the "angle quote" marks with "vertical" quote marks, and then all should be good

    Hope this helps

    Bruce
  • As a matter of fact, that can happen when pasting from any rich text editor, not only Word. So it really is best to use a plain text editor like Notepad.
  • Copy your content from the spreadsheet/text editor you use to notepad. Then copy that pasted content from notepad to your web page. This will prevent weird characters from displaying on your webpages.

    If you meant asking on what character encoding should be used, try UTF-8.
    • [1] reply
    • Thanks to all,
      I'm using an html editor that encodes automatically, when the page is viewed in browser, there are ? all over the page.
      I read somewhere that these may be unrecognised characters.

Next Topics on Trending Feed