RFR: 8278232: [macos] Wrong chars emitted when entering certain char-sequence of Indic language

Prasanta Sadhukhan psadhukhan at openjdk.java.net
Thu Jan 6 11:11:24 UTC 2022


Devanagiri script was not rendered properly in macos after JDK-8068283 due to incorporated check of utf16 string encoding should be more than 2 bytes is not satisfied. 
Additional check added in JDK-8132503 to ascertain if utf8 string encoding is complex or not was also not satisfied because of which complex Devanagairi unicode text insertion was not working.
Fix is to add Devanagiri codePoint to the complex list so that it is rendered properly.

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

Commit messages:
 - 8278232: [macos] Wrong chars emitted when entering certain char-sequence of Indic language

Changes: https://git.openjdk.java.net/jdk/pull/6979/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=6979&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8278232
  Stats: 8 lines in 1 file changed: 7 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/6979.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/6979/head:pull/6979

PR: https://git.openjdk.java.net/jdk/pull/6979



More information about the client-libs-dev mailing list