對於UWP應用程序使用Template10會產生問題。如果我想在設計時顯示特殊字符,一切似乎都可以。在運行時,特殊字符將無法正確顯示,正如您在截圖中看到的一樣。使用Template10時,運行時不能正確顯示特殊字符(如Ü,Ä,Ö)
<!-- page header -->
<controls:PageHeader Content="Übersicht">
<controls:PageHeader.SecondaryCommands>
<AppBarButton Click="{x:Bind ViewModel.GotoSettings}" Label="Settings" />
<AppBarButton Click="{x:Bind ViewModel.GotoPrivacy}" Label="Privacy" />
<AppBarButton Click="{x:Bind ViewModel.GotoAbout}" Label="About" />
</controls:PageHeader.SecondaryCommands>
</controls:PageHeader>
例如 「Ü bersicht」 - >的VisualStudio設計師 「Ü bersicht」 - 「?bersicht」>運行
設計器視圖
運行時間
爲了將來的參考,請試試這個:http://stackoverflow.com/a/10186640/6496980。它爲我工作。 –