From b332b11ee2f3fd450493b55507324c74d96b20e8 Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Sun, 29 Oct 2006 01:10:35 +0000 Subject: convert radiotext in c++ part to utf8 --- lib/python/Components/Converter/RadioText.py | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'lib/python/Components') diff --git a/lib/python/Components/Converter/RadioText.py b/lib/python/Components/Converter/RadioText.py index 59885c0a..e69de29b 100644 --- a/lib/python/Components/Converter/RadioText.py +++ b/lib/python/Components/Converter/RadioText.py @@ -1,17 +0,0 @@ -from Components.Converter.Converter import Converter -from Components.Element import cached - -class RadioText(Converter, object): - def __init__(self, type): - Converter.__init__(self, type) - self.type = type - - @cached - def getText(self): - rt = self.source.radiotext - text = "" - if rt: - if self.type == "RadioText": - text = rt.getRadioText() - return text.decode("latin-1").encode("utf-8") - text = property(getText) -- cgit v1.2.3