The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Special Characters

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

  1. deadend

    deadend Active Member

    Joined:
    Jan 18, 2007
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    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.

    Lane
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    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.
     
Loading...

Share This Page