character encoding support for both python >= 2.4 and > python 2.6