> StringIO *is* Unicode-aware. Though it acts somewhat as if its default encoding is "ascii". This is somewhat inconsistent: you can write arbitrary Unicode strings, but the Unicode won't be converted to ASCII. ASCII is converted to Unicode though. And of course cStringIO doesn't support Unicode at all. --Guido van Rossum (home page: http://www.python.org/~guido/)