tr on OS X
Brandon Allbery
allbery at kf8nh.com
Fri Apr 2 22:08:06 PDT 2010
On Apr 3, 2010, at 00:31 , Scott Haneda wrote:
> If anyone can point me to a relevant thread, I would appreciate it.
> I am working on a port and I keep getting a "tr: Illegal byte
> sequence", which is no fault of MacPorts, but the answer to this may
> lead me down the path of an explanation.
This is an I18N error. If you're operating on binary data for some
reason, you may want to force LANG=C so you don't get errors about
illegal characters in the locale (in this case, it would almost
certainly be UTF8 unless for some reason you're working in a CJK
character set).
--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university KF8NH
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20100403/6e8ed8f5/attachment.bin>
More information about the macports-users
mailing list