charset issue.

Discussion in 'Installation/Configuration' started by lifeisboost, Feb 15, 2008.

  1. lifeisboost

    lifeisboost New Member

    Hello all i have an issue

    I have a big client wanting to move all of his sites to my server. BUT i moved one of his sites and im having an issue.

    http://viper.wssnoc.net/web40/web/index.html

    if you look there, alot of the characters are replaced with question marks. my server has the SAME charsets installed in httpd.conf as his server does. but yet it still does this. his sites are the only ones i have this issue with. can anyone give some insight as to what to look at next? im lost.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please set the correct character set the correct default charset in the apache.conf, apache2.conf or httpd.conf file.

    If the charset is really correct, then the files might have been copied with the wrong charset. Open the files on the shell and check if the charset apperas correct there.
     
  3. lifeisboost

    lifeisboost New Member

    when i view the file through nano this is what one of the words look like Y^Ãall

    when it should be Y’all
     
  4. lifeisboost

    lifeisboost New Member

    httpd.conf settings FC5

    AddLanguage da .dk
    AddLanguage nl .nl
    AddLanguage en .en
    AddLanguage et .ee
    AddLanguage fr .fr
    AddLanguage de .de
    AddLanguage el .el
    AddLanguage he .he
    AddCharset ISO-8859-8 .iso8859-8
    AddLanguage it .it
    AddLanguage ja .ja
    AddCharset ISO-2022-JP .jis
    AddLanguage kr .kr
    AddCharset ISO-2022-KR .iso-kr
    AddLanguage nn .nn
    AddLanguage no .no
    AddLanguage pl .po
    AddCharset ISO-8859-2 .iso-pl
    AddLanguage pt .pt
    AddLanguage pt-br .pt-br
    AddLanguage ltz .lu
    AddLanguage ca .ca
    AddLanguage es .es
    AddLanguage sv .sv
    AddLanguage cz .cz
    AddLanguage ru .ru
    AddLanguage zh-tw .tw
    AddLanguage tw .tw
    AddCharset Big5 .Big5 .big5
    AddCharset WINDOWS-1251 .cp-1251
    AddCharset CP866 .cp866
    AddCharset ISO-8859-5 .iso-ru
    AddCharset KOI8-R .koi8-r
    AddCharset UCS-2 .ucs2
    AddCharset UCS-4 .ucs4
    AddLanguage ltz .lu
    AddLanguage ca .ca
    AddLanguage es .es
    AddLanguage sv .sv
    AddLanguage cz .cz
    AddLanguage ru .ru
    AddLanguage zh-tw .tw
    AddLanguage tw .tw
    AddCharset Big5 .Big5 .big5
    AddCharset WINDOWS-1251 .cp-1251
    AddCharset CP866 .cp866
    AddCharset ISO-8859-5 .iso-ru
    AddCharset KOI8-R .koi8-r
    AddCharset UCS-2 .ucs2
    AddCharset UCS-4 .ucs4
    AddCharset UTF-8 .utf8


    AddDefaultCharset UTF-8
     
  5. falko

    falko Super Moderator ISPConfig Developer

    Try
    Code:
    AddDefaultCharset SO-8859-1
    ...

    ... and correct the wrong characters in all files.
     
  6. lifeisboost

    lifeisboost New Member

    no luck falko when i put that default charset, it kills another website that uses JP text. it replaces the symbols with the funky code until i reset the default to utf-8. Also when i download the web pages with the issue form the new client, the code displays correctly. it sonly when viewed from the web page and from nano on the server it shows those question marks or bad characters
     
    Last edited: Feb 16, 2008
  7. jnsc

    jnsc rotaredoM Moderator

    So Just set this in the Vhost of the concerned site.
     
  8. lifeisboost

    lifeisboost New Member

    I did set it in the vhost of that site to correct it. but it does not fix the new clients site. I do not under stand why when i download the source it is fine, but view it on a web browser on the server or through NANO, it has the odd characters.
     
  9. lifeisboost

    lifeisboost New Member

    i fixed it all i did was add this tot he directives for any site that had the issue

    AddDefaultCharset Off
     

Share This Page