charset UTF 8

Discussion in 'Apache' started by izlik, Nov 3, 2008.

  1. #1
    Hello

    I have Apache installed on a debian server and noticed that when i look on whatever file i uploaded index.html for example i cant se any Swedish characters at all. how can i make apache use UTF-8 ?
     
    izlik, Nov 3, 2008 IP
  2. supportmatrix

    supportmatrix Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    can you try adding the following code in your index.html file and then upload.

     
    supportmatrix, Nov 3, 2008 IP
  3. joebert

    joebert Well-Known Member

    Messages:
    2,150
    Likes Received:
    88
    Best Answers:
    0
    Trophy Points:
    145
    #3
    You set the default character set Apache sends with the AddDefaultCharset directive.

    AddDefaultCharset utf-8
    Code (markup):
     
    joebert, Nov 4, 2008 IP
  4. izlik

    izlik Well-Known Member

    Messages:
    2,399
    Likes Received:
    50
    Best Answers:
    0
    Trophy Points:
    185
    #4
    ye, but that was just an example :( i use more files like .txt's that i need to work with UTF8

    i set this in the apache configuration file "AddDefaultCharset utf-8" and restarted apache, still swedish character wont be seen :( is there someting else that's making it not work? :/
     
    izlik, Nov 4, 2008 IP
  5. hosam119

    hosam119 Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    i have sme error
     
    hosam119, Nov 6, 2008 IP
  6. Ladadadada

    Ladadadada Peon

    Messages:
    382
    Likes Received:
    36
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Show us your request and response headers for a request that has a Swedish character in it.

    You can grab these headers with the Firefox plugin LiveHTTPHeaders.
     
    Ladadadada, Nov 7, 2008 IP