[Python-3000] Help on text editors

Paul Prescod paul at prescod.net
Fri Sep 8 00:41:30 CEST 2006

Are you plugged into the Mandriva community? Is there any debate about the
continued use of iso8859-15? Obviously it has the benefit of backwards
compatibility and slightly smaller file sizes. But it also has very severe
limitations and interoperability problems as you describe below.

On 9/7/06, Antoine Pitrou <solipsis at pitrou.net> wrote:
> Hi,
> Le jeudi 07 septembre 2006 à 12:21 -0700, Paul Prescod a écrit :
> > If you have access to "German Windows XP", "Japanese Windows XP",
> > "Spanish OS X",  "Japanese OS X", "German Ubuntu" etc., I would
> > appreciate answers to the following questions.
> French Mandriva (up-to-date development version).
> > In particular: what is your default encoding and how did your
> > operating system determine it?
> My locale is named "fr_FR" and the encoding is iso-8859-15.
> > Did you install a locale-specific version? Did the installer ask you?
> No, it's the built-in config. I don't remember the installer asking me
> anything except the language and keyboard layout.
> > What is the relationship between your localization of Gnome/KDE and
> > your default encoding?
> Ok, I hexdump'ed a few .mo files (the gettext-compatible files which
> contain translation strings) and the result is a bit funny:
> Gnome/KDE .mo files use utf-8, while .mo files for various command-line
> tools (e.g. aspell) use iso-8859-15.
> Also, it is interesting to know that Gnome tools like gedit (the Gnome
> text editor) normally default to utf-8, however gedit was patched by
> Mandriva to use the system encoding by default (which breaks character
> set auto-detection because the Mandriva patch is awful :
> http://qa.mandriva.com/show_bug.cgi?id=20277).
> By the way, you should be aware that filesystems have their own
> encodings which can different from the default system encoding
> (depending on how it's declared in /etc/fstab). I don't know of a simple
> way to retrieve the encoding for a given directory (except trying to
> find out the filesystem mounting point and parsing /etc/fstab...
> *sigh*). This can be annoying when handling non-ascii filenames.
> Regards
> Antoine.
> _______________________________________________
> Python-3000 mailing list
> Python-3000 at python.org
> http://mail.python.org/mailman/listinfo/python-3000
> Unsubscribe:
> http://mail.python.org/mailman/options/python-3000/paul%40prescod.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-3000/attachments/20060907/4004913e/attachment.htm 

More information about the Python-3000 mailing list