Not able to find Chinese character

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Gone away
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      I have the following document

       

      {{{ _id: ObjectId("60ccadfa1bef75796d4d9739"), id: '视频',
      }}}

      It can query when i use MongoSH

      db.myCollection.find({id: "视频"}).pretty()

       

      But when i use go driver, it return ErrNoDocuments

      .FindOne(ctx, bson.M{"id": "视频"{color:#d19a66}})

            Assignee:
            Benji Rewis (Inactive)
            Reporter:
            Yong Wei Lun
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: