Changeset 1777 for pykota/trunk/bin
- Timestamp:
- 10/05/04 11:59:20 (20 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/dumpykota
r1771 r1777 24 24 # 25 25 # $Log$ 26 # Revision 1.8 2004/10/05 09:59:19 jalet 27 # Restore compatibility with Python 2.1 28 # 26 29 # Revision 1.7 2004/10/04 21:25:29 jalet 27 30 # dumpykota can now output datas in the XML format … … 218 221 for i in range(len(entry)) : 219 222 value = entry[i] 220 strvalue = str(value).decode(self.getCharset()).encode("UTF-8")223 strvalue = unicode(str(value), self.getCharset()).encode("UTF-8") 221 224 x.attribute(strvalue, type=type(value).__name__, name=headers[i]) 222 225 x._pop()