Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Special Characters

Discussion in 'General Discussion' started by deadend, Jul 9, 2007.

  1. deadend

    deadend Active Member

    Jan 18, 2007
    Likes Received:
    Trophy Points:
    Hi Guys,

    I have a guy who needs special characters to show on his web site and right now all it is showing is ? where they should be.

    Special Characters I mean the non-standard keyboard characters.

    If someone could tell me what I need to compile into Apache to make them work, I would be much appreciated.

  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Nov 29, 2006
    Likes Received:
    Trophy Points:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Having dealt with character encoding issues in the past, I will note that these issues generally take some time and effort to diagnose.

    You do not need to compile Apache in any special way for the characters to be displayed. More than likely it's a character encoding issue.

    If they are using the WYSIWYG editor that comes with cPanel/WHM, then that's known to have some character encoding issues, hence the result.

    If they aren't using that editor, ensure that the character set they are saving the file as is compatible with those characters. For example, using ASCII (an American format for storing characters) to store Greek characters for instance would be a bad idea. I would recommend using the appropriate ISO format for the language they are using or UTF-8. In Windows, if you are hand-coding this, you can set this in the File -> Save As dialog.

    Then ensure that the character encoding of the file matches the character encoding designated by the document. Avoid storing a document as UTF-8 for instance, but then setting the document encoding to ASCII for example.

    In addition, if the website is using a database of some sort - ensure that the database also has the appropriate encoding. Don't forget to set the encoding on any external files that the page may use as an include() or similar.

    Those are the basics, if you search the forums you'll find some more advice regarding the issue of character encoding.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice