f55fc95bf4
Do not encode strings to utf-8 after checking that utf-8 is valid. Before this fix, an encoding operation could turn valid utf-8 into invalid utf-8 if an encoding that requires conversion is forced on a valid string. |
||
---|---|---|
.. | ||
binary_test.rb | ||
bson_test.rb | ||
byte_buffer_test.rb | ||
hash_with_indifferent_access_test.rb | ||
json_test.rb | ||
object_id_test.rb | ||
ordered_hash_test.rb | ||
test_helper.rb | ||
timestamp_test.rb |