HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   Ubuntu 6.06 LTS character problems (http://www.howtoforge.com/forums/showthread.php?t=8342)

gzero 20th November 2006 13:50

Ubuntu 6.06 LTS character problems
 
Hi,

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.

anyone?

TIA!

till 20th November 2006 20:28

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.

gzero 21st November 2006 12:26

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?

till 21st November 2006 12:33

Quote:

Originally Posted by gzero
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?

Do you have the mbstring PHP extension installed?

gzero 21st November 2006 15:04

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!

brownie 1st December 2006 12:48

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

lucilla

till 1st December 2006 12:56

Quote:

Originally Posted by brownie
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

lucilla

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

brownie 1st December 2006 13:04

OK now I find it

thanks


All times are GMT +2. The time now is 15:37.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.