Show
Ignore:
Timestamp:
04/19/10 13:28:06 (14 years ago)
Author:
jerome
Message:

Fixes #61. References #56, #60.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/pykota/dumper.py

    r3489 r3533  
    248248                    try : 
    249249                        strvalue = '"%s"' % value.encode(self.charset, \ 
    250                                                          "replace").replace(separator, "\\%s" % separator).replace('"', '\\"') 
     250                                                         "replace").replace(separator, 
     251                                                                            "\\%s" % separator).replace('"', '\\"') 
    251252                    except AttributeError : 
    252253                        if value is None : 
     
    331332                    # with older releases of PyKota. 
    332333                    # The XML dump will contain UTF-8 encoded strings, 
    333                     #not unicode strings anyway. 
     334                    # not unicode strings anyway. 
    334335                    x.attribute(strvalue, \ 
    335336                                type=type(value).__name__.replace("unicode", "str"), \