I think this is one reason why passwords are ASCII-only (that would be generous!) or some limited subset -- unicode is so hard to get right, and even if you do get it right there will be some software that will try to break it :/

// @height8