Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-3175

BSON-EXT does not replicate nodejs buffer utf8 behavior resulting round tripping issue

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: bson-ext-2.0.2
    • Component/s: BSON
    • Labels:

      BSON-EXT does not fill in the replacement U+FFFD code point for invalid utf-8 sequences in strings. But it does validate utf-8 during serialization which means you get an error on one end but not the other.

      From GH issue: https://github.com/mongodb-js/bson-ext/issues/60

            Assignee:
            Unassigned Unassigned
            Reporter:
            neal.beeken@mongodb.com Neal Beeken
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: