We had a bug in our iOS port of CursorWindow where we were not correctly converting strings back to UTF-16 the way the native Android implementation does. This PR borrows some more code from AOSP to more exactly mimic the Android behavior (code found in SquidbUnicode.h and SquidbUnicode.m, slightly adapted for our use case).
We had a bug in our iOS port of CursorWindow where we were not correctly converting strings back to UTF-16 the way the native Android implementation does. This PR borrows some more code from AOSP to more exactly mimic the Android behavior (code found in SquidbUnicode.h and SquidbUnicode.m, slightly adapted for our use case).