Fix non english locale

You could write the password to a temporary file and pass it to grub2-mkpasswd-pbkdf2.