mongodb/mongo-ruby-driver — pull request #439 by estolfo (2014-06-13 15:44:42+00:00)
Title: Ruby 779 encoding

Some utf-8 strings didn't throw an exception when #unpack("U*") was called but the encoding still wasn't valid. This PR checks to make sure the encoding is valid and throws and exception if not.