safari and password fields

Today I discovered that safari ‘magically’ downgrades latin-1 input in form password fields to their nearest ascii equivalents – typing ‘pásswörd’ into a password box actually submits ‘password’. But you can cut and paste non-ascii in and it works fine. I’m very confused.