/[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 892 by frank, Mon May 12 10:45:47 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                #return escape(str).encode("utf8")
155          else:          else:
156              return None              return None
157    

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26