RFR: JDK-8258381 : [macos] Exception when input emoji using Chinese input method

Kevin Rushforth kcr at openjdk.java.net
Thu Apr 1 20:45:08 UTC 2021


On Sun, 21 Mar 2021 04:13:48 GMT, Hsiafan <github.com+1498664+hsiafan at openjdk.org> wrote:

> The convertNSStringToJString function convert NSString to Java String using NewStringUTF,NewStringUTF accept modified-UTF8 encoded str。This fix using UTF-16 encoding for converting.

Looks good to me. I can confirm the exception prior to the fix, and that it works after the fix.

-------------

Marked as reviewed by kcr (Lead).

PR: https://git.openjdk.java.net/jfx/pull/436


More information about the openjfx-dev mailing list