aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/config.py
diff options
context:
space:
mode:
authorFraxinas <andreas.frisch@multimedia-labs.de>2008-11-13 13:01:54 +0100
committerFraxinas <andreas.frisch@multimedia-labs.de>2008-11-13 13:01:54 +0100
commit2c3fe3f9a4eabde0440dbf86fb39ac26062cdc65 (patch)
treee5d488296209583186dee04320f1d611bf6a2208 /lib/python/Components/config.py
parent100681320b09e764b447b00a22cb3ee53d15edf7 (diff)
parent549ebaf137cabfbe9b9c3c346011c7d6241e7655 (diff)
downloadenigma2-2c3fe3f9a4eabde0440dbf86fb39ac26062cdc65.tar.gz
enigma2-2c3fe3f9a4eabde0440dbf86fb39ac26062cdc65.zip
Merge branch 'master' of fraxinas@git.opendreambox.org:/git/enigma2
Diffstat (limited to 'lib/python/Components/config.py')
-rwxr-xr-xlib/python/Components/config.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/Components/config.py b/lib/python/Components/config.py
index 4ddcabec..4d57bbb9 100755
--- a/lib/python/Components/config.py
+++ b/lib/python/Components/config.py
@@ -782,12 +782,12 @@ class ConfigText(ConfigElement, NumericalTextInput):
def getValue(self):
return self.text.encode("utf-8")
-
+
def setValue(self, val):
try:
self.text = val.decode("utf-8")
except UnicodeDecodeError:
- self.text = val
+ self.text = val.decode("utf-8", "ignore")
print "Broken UTF8!"
value = property(getValue, setValue)