Find the answer to your Linux question:
Results 1 to 6 of 6
Hi All, I want to change the default Charset from ISO-8859-1 to UTF-8 , in Apache 2.0.63 (which is installed in SunOS). I have tried with this below entries in ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2009
    Location
    INDIA
    Posts
    6

    Exclamation How to change the Charset in Apache2.0.63


    Hi All,

    I want to change the default Charset from ISO-8859-1 to UTF-8, in Apache 2.0.63 (which is installed in SunOS).

    I have tried with this below entries in httpd.conf file
    AddDefaultCharset Off
    AddCharset utf-8

    but still it didnt work out. When i tried to acces the same via my app server i am able to get it correctly in the explore in UTF-8 Charset.

    Please can any one help me?..... THANKS!..

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Have you tried this method?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    Oct 2008
    Posts
    3
    As far as I know :

    AddDefaultCharset Off already off by default.

    AddCharset utf-8 extention

    Missing a extention like .html

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Apr 2009
    Location
    INDIA
    Posts
    6
    Quote Originally Posted by ferdam View Post
    As far as I know :

    AddDefaultCharset Off already off by default.

    AddCharset utf-8 extention

    Missing a extention like .html
    Hi ferdam,

    I have tried with the extension also but it didnt work

  6. #5
    Just Joined!
    Join Date
    Oct 2008
    Posts
    3
    Well, as last resource, you could try :

    AddDefaultCharset UTF-8
    But aware :

    # Read the documentation before enabling AddDefaultCharset.
    # In general, it is only a good idea if you know that all your files
    # have this encoding. It will override any encoding given in the files
    # in meta http-equiv or xml encoding tags.
    One more thing !
    Sorry if that seems obvius, but...are you restarting Apache after changing config files ?

    Regards

  7. #6
    Just Joined!
    Join Date
    Apr 2009
    Location
    INDIA
    Posts
    6
    Quote Originally Posted by ferdam View Post
    Well, as last resource, you could try :



    But aware :



    One more thing !
    Sorry if that seems obvius, but...are you restarting Apache after changing config files ?

    Regards
    Ya i have stopped &started my apache server. Then also its not..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •