[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnue] r7637 - trunk/gnue-common/src
From: |
johannes |
Subject: |
[gnue] r7637 - trunk/gnue-common/src |
Date: |
Wed, 22 Jun 2005 04:50:25 -0500 (CDT) |
Author: johannes
Date: 2005-06-22 04:50:24 -0500 (Wed, 22 Jun 2005)
New Revision: 7637
Modified:
trunk/gnue-common/src/GCConfig.py
Log:
Use the preferred encoding as default textEncoding
Modified: trunk/gnue-common/src/GCConfig.py
===================================================================
--- trunk/gnue-common/src/GCConfig.py 2005-06-22 07:41:34 UTC (rev 7636)
+++ trunk/gnue-common/src/GCConfig.py 2005-06-22 09:50:24 UTC (rev 7637)
@@ -26,6 +26,8 @@
can appear in each individual tool section)
"""
+import locale
+
from gnue.common.formatting import GTypecast
ConfigOptions = (
@@ -36,7 +38,7 @@
'Description': 'Encoding for XML headers and for fonts in forms. '
+ 'Like iso8859-1, iso8859-13.',
'Typecast' : GTypecast.text,
- 'Default' : 'iso8859-1' },
+ 'Default' : locale.getpreferredencoding ()},
{ 'Name' : 'ImportPath',
'Type' : 'Setting',
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnue] r7637 - trunk/gnue-common/src,
johannes <=