[GRASS-dev] [GRASS GIS] #2136: Create standard options for map or file base name (prefix)

GRASS GIS trac at osgeo.org
Wed Jun 25 15:06:47 PDT 2014


#2136: Create standard options for map or file base name (prefix)
-----------------------------------------+----------------------------------
 Reporter:  wenzeslaus                   |       Owner:  grass-dev@…              
     Type:  defect                       |      Status:  new                      
 Priority:  normal                       |   Milestone:  7.0.0                    
Component:  Parser                       |     Version:  svn-releasebranch64      
 Keywords:  base name, prefix, basename  |    Platform:  All                      
      Cpu:  All                          |  
-----------------------------------------+----------------------------------

Comment(by wenzeslaus):

 Replying to [comment:14 zarch]:
 > Replying to [comment:12 wenzeslaus]:
 > > Replying to [comment:11 zarch]:
 > > > Replying to [comment:10 annakrat]:
 > > > > Map names can't have this weird characters, check
 `G_legal_filename`.
 > > > > I still think '`__`' is the best option.
 > > >
 > > > Yes, I know... But we can always change what is considered legal and
 > > > what is not...
 > > >
 > > I would not risk anything what is non-ASCII.
 >
 > Just for the record this are ASCII characters » (175), ■ (254)...
 >
 I wish this to be true but it is not. They might be part of some
 [http://en.wikipedia.org/wiki/Extended_ASCII extended ASCII]; I can see
 them at [http://www.asciitable.com/ asciitable] but not at [http://www
 .ascii-code.com/ ascii-code]. More importantly, they are not part of
 widely supported (and thus safe) [http://en.wikipedia.org/wiki/ASCII
 ASCII] which has only 128 printable and non-prinatble characters (to fit
 into 7 bits). ASCII corresponds to first 128 characters of
 [http://en.wikipedia.org/wiki/UTF-8 UTF-8].

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



More information about the grass-dev mailing list