Using a three byte Emoji unicode character as a PasswordChar in a text box crashes the app. #17554
-
On Windows 10 Avalonia 11.1.4 This crashes at runtime: Exception thrown: 'System.FormatException' in System.Private.CoreLib.dll This works: Not really an issue for me... And looks like a .Net for Windows bug... |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
'🏍' is not really a character, instead it's a pair of two characters, and could be more. Since .NET doesn't allow setting such emoji as a
|
Beta Was this translation helpful? Give feedback.
'🏍' is not really a character, instead it's a pair of two characters, and could be more.
Since .NET doesn't allow setting such emoji as a
char
, we won't be able to support them. Unless we change API to usestring
instead. I.e.string PasswordMask
or something.