How to enable UTF-8 for SITEFORUM in Debian Linux Woody and Sarge

This is a short description on how to enable UTF-8 encoding for SITEFORUM under the Debian Linux operating system. This works for Woody and Sarge.
1. Execute "dpkg-reconfigure localeconf" as root user and configure to de_DE_UTF-8

After this step, the "locale" should return the following:

LANG=de_DE.UTF-8
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=

2. Edit the file "/etc/password" and configure /bin/bash as the default shell for user "site4um"

3. Execute "su - site4um"

4. Execute "set-language-env" as user "site4um" and answer with the following:

site4um[at]DebianSarge:~$ set-language-env
Setting up users' native language environment by modifying their dot-files.
Type "set-language-env -h" for help.

1 : be (Bielaruskaja,Belarusian)
2 : bg (Bulgarian)
3 : ca (Catala,Catalan)
4 : da (Dansk,Danish)
5 : de (Deutsch,German)
6 : es (Espanol,Spanish)
7 : fr (Francais,French)
8 : ja (Nihongo,Japanese)
9 : ko (Hangul,Korean)
10 : lt (Lietuviu,Lithuanian)
11 : mk (Makedonski,Macedonian)
12 : pl (Polski,Polish)
13 : ru (Russkii,Russian)
14 : sr (Srpski,Serbian)
15 : th (Thai)
16 : tr (Turkce,Turkish)
17 : uk (Ukrajins'ka,Ukrainian)
Input number > 5
Erstelle Paketliste...
1. Germany
2. Austria
3. Belgium
4. Switzerland
5. Luxembourg
6. others
Which country do you live in?
(1..6, [Enter]=1) 1
Do you want to use ISO-8859-15 (euro sign) ? [J/n] n

------- /home/site4um/.Xresources --------
For softwares on X Window System.

Diese Einstellung durchfuehren? [J/n] n
Einstellung ist nicht erfolgt.

------- /home/site4um/.bash_profile --------
Executed when bash is invoked as a login shell.
Only calling .bashrc.

Diese Einstellung durchfuehren? [J/n] J
Einstellung erfolgt...

------- /home/site4um/.bashrc --------
Aktiviert die vorhandene Unterstuetzung fuer Deutsch auf der
Kommandozeile und in den meisten anderen Programmen.
Wird beim Start von bash ausgefuehrt.

Diese Einstellung durchfuehren? [J/n] J
Einstellung erfolgt...

------- /home/site4um/.emacs --------
Deutsche Einstellungen fuer Emacs

Diese Einstellung durchfuehren? [J/n] n
Einstellung ist nicht erfolgt.

------- /home/site4um/.xsession --------
For starting up of an X session.

Diese Einstellung durchfuehren? [J/n] n
Einstellung ist nicht erfolgt.
--------------------
Einstellung sind erfolgt. Sie werden beim naechsten Login wirksam. Sie koennen die geaenderten Einstellungs-Dateien lesen und die Aenderungen ueberpruefen. Falls notwendig, koennen Sie die hinzugefuegten Zeilen direkt abaendern oder hinter der Zeile 'language-env end' Einstellungen anfuegen, die so dann vor den vorhergehenden Einstellungen Vorrang haben. Lesen Sie /usr/share/doc/language-env/README.* fuer naehere Angaben.

Folgende Pakete werden ergaenzend zur Installation vorgeschlagen:
manpages-de, doc-linux-de

Install the following locales.
(Edit /etc/locale.gen and invoke locale-gen)
de_DE ("de_DE ISO-8859-1" in /etc/locale.gen)

Druecken Sie [Enter] um das Programm zu beenden.

site4um[at]DebianSarge:~$

5. Edit the .bashrd as user "site4um" and change the variables "LANG" and "MM_CHARSET" to:

"LANG=de_DE" auf "LANG=de_DE.UTF-8"
"MM_CHARSET=ISO-8859-1" auf "MM_CHARSET=de_DE.UTF-8"

6. Logout as user "site4um"

Note: If you login again (after this step) "locale" should also have all local language variables set to de_DE.UTF-8 .

7. Stop SITEFORUM using "siteforum stop"

8. Start SITEFORUM using "siteforum start". Afterwards, all changes should be active and special characters such as "ö, ä , ü" should be displayed fine in the SITEFORUM Portal.

If you have questions or need further information , please contact the SITEFORUM Support Team at support[at]siteforum.com

July 5, 2005

How to enable UTF-8 for SITEFORUM in Debian Linux Woody and Sarge
SITEFORUM Portal Software : Web Applications To Smart Up Your Business | Enterprise Content Management Software | Shortcuts | Portalsoftware