[MacPorts] #21570: BOM in unicode Portfiles causes parsing error
#21570: BOM in unicode Portfiles causes parsing error --------------------------------+------------------------------------------- Reporter: vince@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.8.0 Keywords: unicode BOM | Port: macports --------------------------------+------------------------------------------- MacPorts (at least v. 1.8) incorrectly handles initial BOM in UTF-8/Unicode Portfiles, causing a parse error in portindex. Ideally, the BOM should be ignored or used to set the correct encoding. -- Ticket URL: <http://trac.macports.org/ticket/21570> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21570: BOM in unicode Portfiles causes parsing error ---------------------------------+------------------------------------------ Reporter: vince@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 1.8.0 Resolution: wontfix | Keywords: unicode BOM Port: macports | ---------------------------------+------------------------------------------ Changes (by toby@…): * status: new => closed * resolution: => wontfix Comment: Tcl doesn't handle it, nothing we can do. As a simple test just create a file with a BOM: {{{ puts "hello world" }}} tclsh will generate the following error: {{{ invalid command name "puts" while executing "puts "hello world"" (file "hello.tcl" line 1) }}} -- Ticket URL: <http://trac.macports.org/ticket/21570#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts