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 18th June 2007, 14:05
melwood melwood is offline
Member
 
Join Date: Jun 2007
Location: Edling, Germany
Posts: 37
Thanks: 5
Thanked 1 Time in 1 Post
Default Character encoding within ISPConfig

Hi,

there are a lot of post concerning character encoding, but they all seem to be about the "normal" apache webserver running on port 80.
I insatlled my server according the "perfect debian etch" Howto and after that installed ISPConfig. I added "AddDefaultCharset ISO-8859-1" and the "normal" site all work well now.
But I also have an character encoding problem within ISPConfig. All special characters like ä,ü, ect. are mixed up.

The encodeing of the ISPConfig HTML-pages is set to ISO-8859-1.

Is it possible that the german translation files are utf-8 encoded?

melwood

Last edited by melwood; 25th June 2007 at 10:49.
Reply With Quote
Sponsored Links
  #2  
Old 18th June 2007, 18:03
Leszek Leszek is offline
Senior Member
 
Join Date: Nov 2006
Location: Poland,Włocławek
Posts: 369
Thanks: 22
Thanked 42 Times in 35 Posts
Send a message via Skype™ to Leszek
Default

Hi!
You should look for:
Code:
$go_info["theme"]["charset"] = "iso-8859-2";
in /home/admispconfig/ispconfig/lib/config.inc.php and change it to what You need.
Reply With Quote
  #3  
Old 18th June 2007, 19:32
melwood melwood is offline
Member
 
Join Date: Jun 2007
Location: Edling, Germany
Posts: 37
Thanks: 5
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by Leszek
Hi!
You should look for:
Code:
$go_info["theme"]["charset"] = "iso-8859-2";
in /home/admispconfig/ispconfig/lib/config.inc.php and change it to what You need.
It's set to "iso-8859-1" which should be fine for german "Umlaute"...

melwood
Reply With Quote
  #4  
Old 18th June 2007, 21:33
melwood melwood is offline
Member
 
Join Date: Jun 2007
Location: Edling, Germany
Posts: 37
Thanks: 5
Thanked 1 Time in 1 Post
Default

More info about my problem:

When I switch the encoding within my browser manually to UTF-8 the special characters will be shown correctly.

But the encoding of the page is iso-8859-1:
HTML Code:
<title>ISPConfig Startseite</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
The strange thing is, that when I look at the html-source within the browser, the special chracters are also shown correctly.

melwood

Last edited by melwood; 18th June 2007 at 21:57.
Reply With Quote
  #5  
Old 19th June 2007, 09:50
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,340
Thanks: 810
Thanked 5,173 Times in 4,055 Posts
Default

Quote:
Is it possible that the german translation files are utf-8 encoded?
No, they are all in Latin-1 and ISPConfig does not support UTF-8. I use ISPConfig also with german umlauts without having to change anything. Are the german locales installed on your server, e.g. the de@euro locale?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 19th June 2007, 10:04
melwood melwood is offline
Member
 
Join Date: Jun 2007
Location: Edling, Germany
Posts: 37
Thanks: 5
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by till
No, they are all in Latin-1 and ISPConfig does not support UTF-8. I use ISPConfig also with german umlauts without having to change anything. Are the german locales installed on your server, e.g. the de@euro locale?
Sorry, but I don't know, how to check this and if they are not installed how to install them (debian etch). Can I do this with apt-get?

I know, people like me shouldn't run a dedicated server ;-)

melwood
Reply With Quote
  #7  
Old 19th June 2007, 10:09
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,340
Thanks: 810
Thanked 5,173 Times in 4,055 Posts
Default

The command is:

dpkg-reconfigure locales
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #8  
Old 19th June 2007, 10:29
melwood melwood is offline
Member
 
Join Date: Jun 2007
Location: Edling, Germany
Posts: 37
Thanks: 5
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by till
The command is:

dpkg-reconfigure locales
Okay, the only locale installed was de_DE.UTF-8. I now installed
de_DE.ISO-8859-1 and de_DE.ISO-8859-15@euro and selected de_DE.ISO-8859-15@euro as default.

Everything works fine now except the "status"-tab when I login as admin. But it is possible that I screwd up the language file while trying to solve the problem myself ;-)

The only problem is, that I can't find the language file for this tab. Do you know in which lib-folder it is?

melwood
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
utf-8 encoding of ispconfig web pages Kornik Feature Requests 3 27th August 2007 08:41
ISPConfig 2.3.2-dev released till General 9 4th June 2007 10:46
ISPconfig Default DB Character Set for Sites orasis Installation/Configuration 4 19th March 2007 15:57
MySQL character encoding Leszek Technical 1 2nd March 2007 13:22
SP-Server Setup - Ubuntu 5.10 "Breezy Badger" - Page 6 (changes) LuisC-SM HOWTO-Related Questions 0 21st April 2006 15:16


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


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