diff options
| author | Fraxinas <andreas.frisch@multimedia-labs.de> | 2008-11-13 13:01:54 +0100 |
|---|---|---|
| committer | Fraxinas <andreas.frisch@multimedia-labs.de> | 2008-11-13 13:01:54 +0100 |
| commit | 2c3fe3f9a4eabde0440dbf86fb39ac26062cdc65 (patch) | |
| tree | e5d488296209583186dee04320f1d611bf6a2208 /lib/python/Components/config.py | |
| parent | 100681320b09e764b447b00a22cb3ee53d15edf7 (diff) | |
| parent | 549ebaf137cabfbe9b9c3c346011c7d6241e7655 (diff) | |
| download | enigma2-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-x | lib/python/Components/config.py | 4 |
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) |
