Changeset 3533 for pykota/trunk/pykota/dumper.py
- Timestamp:
- 04/19/10 13:28:06 (14 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/dumper.py
r3489 r3533 248 248 try : 249 249 strvalue = '"%s"' % value.encode(self.charset, \ 250 "replace").replace(separator, "\\%s" % separator).replace('"', '\\"') 250 "replace").replace(separator, 251 "\\%s" % separator).replace('"', '\\"') 251 252 except AttributeError : 252 253 if value is None : … … 331 332 # with older releases of PyKota. 332 333 # The XML dump will contain UTF-8 encoded strings, 333 # �not unicode strings anyway.334 # not unicode strings anyway. 334 335 x.attribute(strvalue, \ 335 336 type=type(value).__name__.replace("unicode", "str"), \