# -*- coding: ISO-8859-1 -*- # -*- coding: utf-8 -*- # -*- coding: latin-1 -*-
>>> sys.getdefaultencoding()
'ascii'
>>>
getdefaultencoding()
Return the name of the current default string encoding used by the Unicode implementation. New in version 2.0.
>>> sys.getfilesystemencoding()
'ISO-8859-15'
>>>
getfilesystemencoding( )
Return the name of the encoding used to convert Unicode filenames into system file names, or None if the system default encoding is used. The result value depends on the operating system:
* On Windows 9x, the encoding is ``mbcs''.
* On Mac OS X, the encoding is ``utf-8''.
* On Unix, the encoding is the user's preference according to the result of nl_langinfo(CODESET), or None if the nl_langinfo(CODESET) failed.
* On Windows NT+, file names are Unicode natively, so no conversion is performed.
New in version 2.3.
Nach dem Studium ist man immer schlauer. /usr/share/doc/user-de/README aus dem Paket user-de
apt-get install user-de ; README lesen und gut
Oberfläche - KDE - GNOME - andere
http://www.unicode.org/versions/Unicode4.0.0/ Unicode 4.0.0
http://www.maruko.ca/i18n/ eher was für Papi
UTF-8 Setup Mini HOWTO
Umgebungsvariable
glib G_FILENAME_ENCODING ist die var falsch gesetzt geht das speichern von neuen Dateien nicht
VORSICHT wenn glib Fehler in Zusammengang mit UTF-8 auftauchen ist diese falsch gesetzt --- mehr lesen
Unicode, finally ================ make your Unicode environment ready: Install the locales package. Add a Unicode locale to /etc/locale.gen de_DE.UTF-8 UTF-8 and rerun locale-gen: Once you generated this, make it your default locale: export LANG=de_DE.UTF-8 If you have also loaded the unicode font above, you are set up. Try for example to view the examples/ files in the ucs-fonts package with less. # less fonts/examples/UTF_8-demo.txt
converts filenames (not file content), directories, and even whole filesystems
http://www.oss-watch.ac.uk/resources/knoppixremaster.xml?style=text
-- DetlevLengsfeld 2006-11-27 11:32:42
Python/UniCode (last modified 2008-11-04 07:00:03)