class BSON::InvalidStringEncoding

Raised when given a string is not valid utf-8 (Ruby 1.8 only).