1

I'm using the updated Windows Template Studio in VS2017 to design a UWP app. However some Chinese Characters cannot be displayed properly. If these characters are added in C#, then it works well, but when added in XAML, it becomes blocks.

This is an example. You can see that the headers, originally Chinese, become interesting.

What should I do? Thx~!

enter image description here enter image description here

Jiahui Peng
  • 67
  • 1
  • 5

1 Answers1

0

You Should Customize your pivot at this level

<Pivot>
      <PivotItem Header="YourItemNAme">
                <StackPanel>
                    <TextBlock FontSize="15" TextWrapping="Wrap">
                        Some Description
                    </TextBlock>                        
                        <TextBlock Name="AnyName" FontSize="35" Margin="0,15,0,0"
                                   FontFamily="Your Font Name" Text="your  that font supported text" />                                                                             
                </StackPanel>                    
       </PivotItem>
</Pivot>
Shubham Sahu
  • 1,963
  • 1
  • 17
  • 34