[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-2d-dev
Subject:    RFR: 8241192: [macosx] Wrong letter typed after =?UTF-8?B?wrQ=?= symbol when using Finnish layout
From:       Prasanta Sadhukhan <psadhukhan () openjdk ! java ! net>
Date:       2022-01-28 9:44:28
Message-ID: FrPt5p9Wh_Bqdu9qE0PqSr-41wsNalEgkg-v2KRc4sc=.3c0c2eeb-52a6-4c97-ba48-d550cd2892e6 () github ! com
[Download RAW message or body]

If we press "  ´ " (on U.S. keyboard layout it is the [+] button just before the \
[delete] button), and then press "s" , 2 " ´" characters are entered in a text field \
instead of " ´s" with "Finish" keyboard layout. This is because, although "  ´ " is \
construed as "complex" char and inserted properly the next "s" character is treated \
as non-complex character as it's utf8Length is 1 and utf16Length is 2, so we need to \
explicitly make it a "complex" char sequence if the code point is 0x73 ie "s" in \
Finnish layout for it to be inserted properly.

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

Commit messages:
 - 8241192: [macosx] Wrong letter typed after  ´ symbol when using Finnish layout
 - 8241192: [macosx] Wrong letter typed after  ´ symbol when using Finnish layout

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

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic