Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 20th November 2006, 12:50
gzero gzero is offline
Junior Member
 
Join Date: Oct 2006
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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!
Reply With Quote
Sponsored Links
  #2  
Old 20th November 2006, 19:28
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,170
Thanks: 829
Thanked 5,412 Times in 4,255 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 21st November 2006, 11:26
gzero gzero is offline
Junior Member
 
Join Date: Oct 2006
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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?
Reply With Quote
  #4  
Old 21st November 2006, 11:33
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,170
Thanks: 829
Thanked 5,412 Times in 4,255 Posts
Default

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?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 21st November 2006, 14:04
gzero gzero is offline
Junior Member
 
Join Date: Oct 2006
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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!
Reply With Quote
  #6  
Old 1st December 2006, 11:48
brownie brownie is offline
Member
 
Join Date: Mar 2006
Posts: 39
Thanks: 4
Thanked 2 Times in 2 Posts
Default

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
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HowTo SAMBA(Domain Controller, DHCP - Ubuntu 6.06 LTS (LAMP) FrozenPixel Suggest HOWTO 2 8th April 2008 22:16
LAMP Installation On Ubuntu 6.06 For Linux Noobs - Startx problems Genin HOWTO-Related Questions 11 22nd November 2006 00:01
Screwed up Hostname on Ubuntu 6.06 LTS FrozenPixel Server Operation 8 18th November 2006 20:45
Help with The Perfect Setup - Ubuntu 6.06 LTS Server LinuxNewb HOWTO-Related Questions 6 30th July 2006 13:43
Request: Perfect Ubuntu 6.06 LTS - Automatic LAMP Server Installation (co-location) Anim Suggest HOWTO 19 6th June 2006 11:30


All times are GMT +2. The time now is 14:23.


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