diff -r 68cfebd3b9f3 -r b8bd0ecced2e utils.py --- a/utils.py Fri Nov 05 14:28:07 2010 +0100 +++ b/utils.py Fri Nov 05 14:28:22 2010 +0100 @@ -201,6 +201,7 @@ def pop(self, i): self._size -= 1 + class UStringIO(list): """a file wrapper which automatically encode unicode string to an encoding specifed in the constructor