ISO-8859-1 and utf-8

Discussion in 'Server Operation' started by unsichtbare, Apr 28, 2009.

  1. unsichtbare

    unsichtbare Member HowtoForge Supporter

    I have an Ubuntu 8.10 server with ISPConfig and the default character set is ISO-8859-1.

    I just installed a PHP MySQL CMS with a bunch of calls for utf-8 and symbols, accents, extra spaces appear all messed up. Here is just a small example of what happens when I grep utf-8 in the directory:
    Code:
    /var/www/web5/web/hotel/php-residence/tabella3.php:<form accept-charset=\"utf-8\" method=\"post\" action=\"tabella.php\"><div>
    /var/www/web5/web/hotel/php-residence/tabella3.php:<form accept-charset=\"utf-8\" method=\"post\" action=\"tabella3.php\"><div>
    /var/www/web5/web/hotel/php-residence/tabella3.php:<form accept-charset=\"utf-8\" method=\"post\" action=\"inizio.php\"><div>
    /var/www/web5/web/hotel/php-residence/creaanno.php:echo "<form accept-charset=\"utf-8\" method=\"post\" action=\"inizio.php\"><div>
    /var/www/web5/web/hotel/php-residence/clienti.php:echo "<form accept-charset=\"utf-8\" method=\"post\" action=\"$origine\"><div>
    /var/www/web5/web/hotel/php-residence/clienti.php:<form accept-charset=\"utf-8\" method=\"post\" action=\"$origine\"><div>
    /var/www/web5/web/hotel/php-residence/clienti.php:<form accept-charset=\"utf-8\" method=\"post\" action=\"clienti.php\"><div>
    /var/www/web5/web/hotel/php-residence/clienti.php:echo "<br><form accept-charset=\"utf-8\" method=\"post\" action=\"clienti.php\"><div>
    /var/www/web5/web/hotel/php-residence/clienti.php:echo "<form accept-charset=\"utf-8\" method=\"post\" action=\"clienti.php\"><div>
    /var/www/web5/web/hotel/php-residence/clienti.php:echo "<form accept-charset=\"utf-8\" method=\"post\" action=\"$origine\"><div>
    
    What can I do?
    -J
     
  2. falko

    falko Super Moderator ISPConfig Developer

    I think you should change Apache's default charset to utf-8.
     

Share This Page