[MacPorts] #20686: gsed fails to handle non-ASCII characters (bytes with top-bit set) in C locale

MacPorts noreply at macports.org
Sat Aug 15 15:29:24 PDT 2009


#20686: gsed fails to handle non-ASCII characters (bytes with top-bit set) in C
locale
---------------------------------+------------------------------------------
 Reporter:  vinc17@…             |       Owner:  nox@…           
     Type:  defect               |      Status:  new             
 Priority:  Normal               |   Milestone:                  
Component:  ports                |     Version:  1.7.1           
 Keywords:                       |        Port:  gsed            
---------------------------------+------------------------------------------
 For instance:
 {{{
 $ echo "abécd" | LC_ALL=C gsed -e 's/.*//'
 écd
 }}}
 With the sed from Mac OS X and GNU sed under GNU/Linux, one gets a blank
 line, thus I suppose that this is what the user expects even though é
 isn't part of the US-ASCII character set specified by the C locale (and
 even though the result could depend on the encoding with some
 expressions).

 The consequence is that building ocaml fails if gsed is installed with the
 with_default_names variant (see bug #20275).

-- 
Ticket URL: <http://trac.macports.org/ticket/20686>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list