[MacPorts] #32663: linuxdoc-tools: expand: stdin: Illegal byte sequence

MacPorts noreply at macports.org
Mon Dec 26 11:59:25 PST 2011


#32663: linuxdoc-tools: expand: stdin: Illegal byte sequence
----------------------------------+-----------------------------------------
 Reporter:  silverdr@…            |       Owner:  michael.klein@…                   
     Type:  defect                |      Status:  new                               
 Priority:  Normal                |   Milestone:                                    
Component:  ports                 |     Version:  2.0.3                             
 Keywords:                        |        Port:  linuxdoc-tools                    
----------------------------------+-----------------------------------------
Changes (by ryandesign@…):

 * cc: ryandesign@… (added)


Comment:

 The invalid byte sequence in question appears to be the one-half fraction
 character. The stream `expand` is processing appears to be in ISO-8859-1
 encoding but it is presumably expecting UTF-8 encoding. I don't know why
 the `expand` command should care at all what the encoding is, since all
 `expand` does is translate whitespace, but apparently it does care.

 The same error was reported in #28819 but was closed as invalid at the
 time because the user had manually augmented the MacPorts environment to
 set the encoding, which is unsupported. However, these days, MacPorts
 automatically sets the encoding to UTF-8, thus this is now a real problem
 we need to solve.

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


More information about the macports-tickets mailing list