[MacPorts] #37066: p5-shell-parser: sed: RE error: illegal byte sequence

MacPorts noreply at macports.org
Tue Nov 20 19:44:04 PST 2012


#37066: p5-shell-parser: sed: RE error: illegal byte sequence
------------------------------+--------------------------------
  Reporter:  ag@…             |      Owner:  macports-tickets@…
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.1.2
Resolution:                   |   Keywords:  mountainlion
      Port:  p5-shell-parser  |
------------------------------+--------------------------------

Comment (by jmr@…):

 Firstly, it should be LC_CTYPE, not LANG; and secondly, setting it to C
 will produce incorrect results unless the non-UTF8 characters are confined
 to comments. You need to use the actual character encoding of the file (or
 convert it from that to UTF-8 before running sed).

-- 
Ticket URL: <https://trac.macports.org/ticket/37066#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list