XAML does not display accented letters or the letter ñ in Windows #13504
-
When I create a new Uno Platform application I cannot display accented letters or the letter ñ with texts in Spanish.
If I run the Windows version it looks like this: If I create a Winui application in C# (not from Uno Platform) it works fine. In case it is of interest when creating the Uno Platform application from the templates, the English (en) and Arabic (ar) language always appear in the configuration. Even forcing to use Spanish as the default language the error continues. If I use translated strings in a resource file, accents and the letter ñ appear. The problem I have with fields that the user fills, such as the name of the connected user, there I can not use translations in resource file. Can you think of a solution or a test I can do? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Indeed. I`ve tested it. It works from code: SymbolTextBlock.Text = "ñ"; But not works from XAML. |
Beta Was this translation helpful? Give feedback.
-
Hello: |
Beta Was this translation helpful? Give feedback.
@tenderodigital thanks for the report. This is indeed interesting and would mean that the default encoding of the files is incorrect. You can try changing the encoding of XAML files by using "save" as them as unicode or UTF-8 with header:
Let's keep track in unoplatform/uno.templates#263