Skip to content

Commit

Permalink
Apply the only needed change
Browse files Browse the repository at this point in the history
  • Loading branch information
Wbert Castro committed Mar 25, 2024
1 parent f6dd7c9 commit a980593
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ext/nokogiri/xml_reader.c
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,6 @@ rb_xml_reader_encoding(VALUE rb_reader)
return constructor_encoding;
} else {
rb_iv_set(self, "@encoding", NOKOGIRI_STR_NEW2("UTF-8"));
c_document->encoding = xmlStrdup(BAD_CAST "UTF-8");
}

Data_Get_Struct(rb_reader, xmlTextReader, c_reader);
Expand Down

0 comments on commit a980593

Please sign in to comment.