Force unicode on Strings

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 1.6.3
    • Affects Version/s: 1.4.0
    • Component/s: None
    • None
    • Environment:
      Mongo 2.0.0, Win32
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Mongo fails with exception: BSONElement: bad type -30 code:10320 0ms

      when in ruby drivers string is put into {} without force_encoding(UTF-8) and when this string contains, for example, cyrillic charactes.

      suggesting some checking on ruby driver side. (when serializing to BSON)

        1. action_names_rus.properties
          0.1 kB
        2. Gemfile
          0.1 kB
        3. ruby-320-test.rb
          0.3 kB

              Assignee:
              Tyler Brock (Inactive)
              Reporter:
              Yan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: