locale -a
listet alle im System konfigurierten Lokalen auf. Sollte die gewünschte UTF-8-Locale fehlen, kann
man unter Debian mit
sudo dpkg-reconfigure locale
diese neu generieren lassen. Dabei dann die erwünschte UTF-8-Lokale mit auswählen (z.B. de_DE.utf8 oder auch pl_PL.utf8).
export LANG=de_DE.utf8 (bash)
setenv LANG de_DE.utf8 (csh)
xterm -u8
starten.
--display-charset utf-8 --utf8-strings
Damit wird gpg gezwungen, den Input als UTF-8 zu verstehen und auch auf jeden Fall UTF-8
zu produzieren.
set charset="utf-8"
# Character set your terminal uses to display and enter textual data.
set locale="de_DE.utf-8"
# string formatting
set send_charset="utf-8"
# a list of character sets for outgoing messages.
set use_8bitmime=yes
# but only and only if the MTA supports this, if unsure dont use and ask
# your mail-administrator
<VirtualHost *:80>
AddDefaultCharset UTF-8
ServerName subdomain.guenther.pl
ServerAlias mygermandomain.guenther.pl
DocumentRoot /var/www/subdomain
ServerAdmin webmaster@guenther.pl
Redirect permanent gohere https://subdomain.guenther.pl/gohere.php
<Location />
php_admin_value safe_mode 0
php_admin_value open_basedir "/var/www/guenther.pl/subdomain/"
Order Allow,Deny
Allow from all
</Location>
</VirtualHost>
Nun kann man html-Dateien im UTF-8-Encoding erstellen und direkt Umlaute benutzten.