Encoding Help

Discussion in 'HTML & Website Design' started by random0, Oct 30, 2008.

  1. #1
    		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9" />
    Code (markup):

    I need help with encoding different characters.

    My pages can't show turkish characters such as "ö,ç,ş,ü". All I get is a question mark instead of these characters. Can someone tell me how I can fix this?

    It seems it works fine on these forums. FYI: I use "jEdit" if it matters.
     
    random0, Oct 30, 2008 IP
  2. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #2
    Try utf-8 rather than iso-8859-9. It may be your server is configured to utf-8, as is this forum's server. In that case, it overrides your meta data.

    cheers,

    gary
     
    kk5st, Oct 30, 2008 IP
  3. random0

    random0 Member

    Messages:
    17
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #3
    I tried them both.it didn't work.
     
    random0, Oct 30, 2008 IP
  4. random0

    random0 Member

    Messages:
    17
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #4
    It's fixed. I tried UTF-8, it didn't work. Then I changed it to "UTF-8" in my text editor. It works now.
     
    random0, Oct 30, 2008 IP
  5. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #5
    Yeah, I should have been more explicit. You do have to encode the file the same as what your server's response header sz.

    cheers,

    gary
     
    kk5st, Oct 31, 2008 IP