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. |
||
---|---|---|
.. | ||
types | ||
bson_c.rb | ||
bson_java.rb | ||
bson_ruby.rb | ||
byte_buffer.rb | ||
exceptions.rb | ||
ordered_hash.rb | ||
version.rb |