samvera / questioning_authority

Question your authorities
Other
54 stars 30 forks source link

Fix TGN_LANGAUGES.xml encoding attribute to be properly UTF-8 #385

Closed jrochkind closed 8 months ago

jrochkind commented 8 months ago

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.