Author: johannes
Date: 2008-09-09 04:37:01 -0500 (Tue, 09 Sep 2008)
New Revision: 9895
Modified:
trunk/gnue-forms/src/uidrivers/curses/UIdriver.py
Log:
always check encoding in lowercase letters. This fixes UTF-8 locales
Modified: trunk/gnue-forms/src/uidrivers/curses/UIdriver.py
===================================================================
--- trunk/gnue-forms/src/uidrivers/curses/UIdriver.py 2008-09-08 08:40:05 UTC (rev 9894)
+++ trunk/gnue-forms/src/uidrivers/curses/UIdriver.py 2008-09-09 09:37:01 UTC (rev 9895)
@@ -369,7 +369,7 @@
return key
result = [key]
- if i18n.encoding.startswith('utf'):
+ if i18n.encoding.lower().startswith('utf'):
for i in range(self.__get_hibits(key)-1):
result.append(self.__get_next_key(window))
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.