Ubuntu 6.06 LTS character problems

Discussion in 'Installation/Configuration' started by gzero, Nov 20, 2006.

  1. gzero

    gzero New Member


    I just changed my web server from "The perfect setup Debian sarge" to "The perfect setup 6.06 LTS". One of the websites which i had to move is French. After moving this site to the new server and opening it in Firefox some words with special characters are not displayed correctly. When checking these files with nano or vim the output is the same as with Firefox.

    My previous servers both debian and gentoo worked without problems.

    I've searched the forums here and on Google but i can't find how to solve this issue.


  2. till

    till Super Moderator Staff Member ISPConfig Developer

    I guess the latest Ubuntu servers use UTF8, maybe you will have to install a additional locale on your server. If the wrong characters appear only in your browser, please activate the latin-1 default encoding in your apache2.conf file which is decativated in ubutu by default.
  3. gzero

    gzero New Member

    Hi till,

    Thanks for your answer!

    I changed both system and apache to non UTF-8 and all is well now.

    I do have one other problem now. I am running Drupal with the fileshare module which has a ajax way of displaying local folders on the server. Now some of the directory's are labled "Gehäuse" and its not displayed correctly (same problem as before). I guess this is a PHP problem not have the correct encoding.
    Do you know how to enable this kind of encoding in PHP?
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Do you have the mbstring PHP extension installed?
  5. gzero

    gzero New Member

    Multibyte Support enabled

    I did some more testing with the "scandir" function in PHP and return this array to see what happens and it display the content correctly. So I presume there is something wrong with the fileshare module in Drupal.

    Because this is not related to ISPConfig nor the Ubuntu howto here I stop bothering you here :).

    I already submitted this problem in the fileshare bug tracker and wait for an answer of the developer.

    Thanks a lot for your support!
  6. brownie

    brownie New Member

    I also have the problem with special character (for example I write à and I see Ã)
    I have ispconfig 2.1.2 on suse 10.0 64 bit
    maybe I must change the encoding but I cannot find apache2.conf, I haven't the file apache2.conf so please you can specify where is the file in suse

    many thanks

  7. till

    till Super Moderator Staff Member ISPConfig Developer

    The config file can be named httpd.conf or apache.conf too. It is normally in /etc/apache/ or /etc/apache2/ or /etc/httpd/
  8. brownie

    brownie New Member

    OK now I find it


Share This Page