/[thuban]/branches/WIP-pyshapelib-bramz/Thuban/Model/save.py
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/Thuban/Model/save.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 876 by jonathan, Fri May 9 16:31:55 2003 UTC revision 894 by frank, Mon May 12 10:46:29 2003 UTC
# Line 150  class XMLWriter: Line 150  class XMLWriter:
150          """          """
151    
152          if str is not None:          if str is not None:
153              return escape(str).encode("utf8")              return unicode(escape(str),'latin1').encode("utf8")
154          else:          else:
155              return None              return None
156    

Legend:
Removed from v.876  
changed lines
  Added in v.894

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26