Uploaded image for project: 'Couchbase Mobile'
  1. Couchbase Mobile
  2. CM-161

JNI glue should work around Java encoding problem

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 2.6.0
    • 2.5.0
    • CouchbaseLite

    Description

      Android Java cannot handle actual UTF-8 encoded text.  It, instead, requires Modified UTF-8. **NewStringUTF aborts on strings that are UTF-8 but not Modified UTF-8.  To fix the problem, we can use C++ routines to convert UTF-8 to UTF-16 before handing it to Java.{{
      }}

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              blake.meike Blake Meike
              blake.meike Blake Meike
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty