Uploaded image for project: 'Couchbase Lite'
  1. Couchbase Lite
  2. CBL-46

JNI glue should work around Java encoding problem

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • None
    • Java-Android
    • Security Level: Public
    • None

    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:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty