Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-1353

WiredTiger character encodings

    • Type: Icon: Task Task
    • Resolution: Done
    • WT2.5.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      Setting app_metadata to an encoded string fails in the WiredTiger API, here's the test case:

      #!/usr/bin/env python
      # -*- coding: latin-1 -*-
      
      import wiredtiger, wttest
      
      class f(wttest.WiredTigerTestCase):
          def test_f(self):
              self.session.create('file:xxx',
              'key_format=S,value_format=S,' + 'app_metadata={xxx\xc3\xa9yyy}')
      
      if __name__ == '__main__':
          wttest.run()
      

      I'm not sure if this is a bug or not, but it's at least a documentation issue, we need to specify what we expect.

            Assignee:
            michael.cahill@mongodb.com Michael Cahill (Inactive)
            Reporter:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: