[GRASS-dev] Re: [GRASS GIS] #1488: v.in.dxf wrapper not working

GRASS GIS trac at osgeo.org
Mon Nov 14 15:44:36 EST 2011


#1488: v.in.dxf wrapper not working
-------------------------+--------------------------------------------------
 Reporter:  cmbarton     |       Owner:  grass-dev@…              
     Type:  defect       |      Status:  new                      
 Priority:  normal       |   Milestone:  7.0.0                    
Component:  wxGUI        |     Version:  svn-trunk                
 Keywords:  v.in.dxf     |    Platform:  Unspecified              
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------

Comment(by cmbarton):

 I'm not quite sure what you are suggesting as a solution.

 Do we need to search through all modules and replace str() with
 str.decode() or utility.DecodeString()? Or is this just needed in a few
 spots?

 Or do we just need to change DecodeString() (and EncodeString() too???) to
 use string.encode(enc, 'replace').replace(u'\ufffd',u+'\fffd')?

 Michael

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1488#comment:16>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list