Open FelixCCWork opened 1 year ago
This is most probably a code-page issue. Make sure your XAML file is saved in UTF-8.
In Visual Studio, select Tools->Options->Environment->Documents->Save documents as Unicode when data cannot be saved in codepage.
This is most probably a code-page issue. Make sure your XAML file is saved in UTF-8.
In Visual Studio, select Tools->Options->Environment->Documents->Save documents as Unicode when data cannot be saved in codepage.
I have the same problem and tried their tip, the problem still exists. This problem also exists only since the last update of Visual Studio 2022.
The visual studio setting to save document as Unicode does not work for me. I also tried setting the option in the app.manifest file (
I have the same problem, but for me it occurs only inside user controls. Directly on a page it is displayed correctly.
Describe the bug
When adding a TextBlock with the Text property set to a text containing a german umlaut (eg. ä,ö,ü) this character is displayed as questionmark. When using x:Bind to bind the Text of a TextBlock to a string in code behinde, it works.
What is really strange, if I change anything in the text and do a Hot-Reload, the characters are displayed correctly!
My windows display language is set to german. The application is build as unpackaged app.
Xaml:
Steps to reproduce the bug
Expected behavior
No response
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.2.3: 1.2.230118.102
Windows version
Windows 10 (21H2): Build 19044
Additional context
No response