简体   繁体   English

字符串显示中出现一些符号 ॐ 代替 om

[英]Some symbol ॐ is appearing in place of om in string display

I am displaying translated text "Nom" of "Name" in French in Xamarin.Forms Android app.我在 Xamarin.Forms Android 应用程序中以法语显示“名称”的翻译文本“Nom”。 But instead of showing Nom, it shows Nॐ converting characters om into ॐ (om symbol).但不是显示 Nom,而是显示 Nॐ 将字符 om 转换为 ॐ(om 符号)。 Could someone help me how to avoid this symbol?有人可以帮我如何避免这个符号吗? I have Googled it with various keywords but couldn't find the solution.我用各种关键字搜索了它,但找不到解决方案。

The code I am using to display the text is <Span Text="{x:Static localization:Localization.Name}" /> .我用来显示文本的代码是<Span Text="{x:Static localization:Localization.Name}" />

The resx file code translation is as below. resx 文件代码翻译如下。

  <data name="Name" xml:space="preserve">
    <value>Nom</value>
  </data>

About the om symbol: https://en.wikipedia.org/wiki/Om .关于 om 符号: https ://en.wikipedia.org/wiki/Om。

It turns out the font mentioned is FontAwesome instead of LatoFont.原来提到的字体是 FontAwesome 而不是 LatoFont。 That was the root cause of the issue.这是问题的根本原因。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM