[MacPorts] #20686: gsed fails to handle non-ASCII characters (bytes with top-bit set) in C locale
MacPorts
noreply at macports.org
Mon Oct 12 23:47:11 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
---------------------------------+------------------------------------------
Comment(by russ.bubley@…):
I encounterd this problem too. For me (on Tiger)
{{{
#!sh
machine:~/bin user$ which sed gsed
/usr/bin/sed
/opt/local/bin/gsed
machine:~/bin user$ echo "ab\303\251cd" | LC_ALL=C sed -e 's/.*//'
machine:~/bin user$ echo "ab\303\251cd" | LC_ALL=C gsed -e 's/.*//'
écd
}}}
--
Ticket URL: <http://trac.macports.org/ticket/20686#comment:7>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list