When copying (for example) a password from KeepassXC on Mac OS, UTF-8 BOM gets copied into the clipboard along with the password. Luckily many apps sanitize clipboard and trim this extra BOM, but looks like java/swing apps (for example Intellij based) are pasting password along with BOM instead of just a password and user gets incorrect password.
This may be related to the issue (not sure): https://bugreports.qt.io/browse/QTBUG-61562
Tested on KeePassXC - 2.2.0 Mac OS 10.11