At some point nokogiri started actually paying attention to the encoding attribute in the <?xml> decleration in a way that made it parse improperly when it wrongly said "ASCII" when data actually had UTF-8
In nokogiri-1.15.4-arm64-darwin this discrepency was making code fail, with nokogiri failing to parse the file; even though this .XML file hasn't changed in 10 years, and it used to work fine.
At some point nokogiri started actually paying attention to the
encoding
attribute in the <?xml> decleration in a way that made it parse improperly when it wrongly said "ASCII" when data actually had UTF-8In
nokogiri-1.15.4-arm64-darwin
this discrepency was making code fail, with nokogiri failing to parse the file; even though this .XML file hasn't changed in 10 years, and it used to work fine.