Keyboard layouts that have symbols outside of Unicode's 16-bit basic multilingual plane (BMP) do not currently work in ThinLinc on Windows and macOS. This is because both of them use UTF-16, and hence need to have a surrogate pair to represent these symbols. A quick test shows that things work fine if we merge these to a normal 32-bit codepoint and send the corresponding keysym. Affected layouts are those for very recent scripts, so likely not too common: * Adlam * Hmong * Osage * Hanifi Rohingya * Wancho Discovered during bug 5272.