我不能写在XAML文件阿拉伯文文本 [英] I Can't Write Arabic text in the XAML file

查看:158
本文介绍了我不能写在XAML文件阿拉伯文文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

<TextBlock Text="المبلغ" />

当我建这个项目下面的错误发生了:

when i built the project the following error happened:

任何帮助......

any help....

推荐答案

现在的问题是清楚的,你有一个问题,您的文件的编码,如果没有记错的话,在Text属性那里是一个阿拉伯的关键字,需要统一code编码。 更改文件编码,以统一code,通过执行以下操作:

The problem is clear, you have a problem with your file encoding, If am not mistaken the word in the Text property up there is an Arabic keyword which requires Unicode encoding. Change your file encoding to Unicode, by doing the following:

打开您有问题,XAML文件,转到文件>另存为

Open the XAML file you have problem with, go to File > Save As

点击小向下箭头保存按钮来选择编码

Click on the small down arrow at the save button to select the encoding

选择的Uni code保存并替换旧的文件。

Select Unicode save and replace your old file.

这应该解决您的问题。

这篇关于我不能写在XAML文件阿拉伯文文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆