简体   繁体   English

Windows Phone中的Devanagari字体渲染,字符序列不正确

[英]Devanagari font rendering in Windows Phone, incorrect character sequence

I am developing an application that translates English text into Hindi using Microsoft Translation Service. 我正在开发一个使用Microsoft Translation Service将英语文本翻译成印地语的应用程序。 I am using TextBlock control to display translation results. 我正在使用TextBlock控件显示翻译结果。

The translated text in Hindi character sequence is incorrect. 印地语字符序列的翻译文本不正确。 For instance the Translation for a word 'heart' is ' दिल ' However the character sequence is incorrect and it is displayed as ' translation for word 'Heart' into Hindi 例如,单词“ heart”的翻译为“दिल”,但是字符序列不正确,并且显示为单词“ Heart”的印地文翻译

I am unable to figure out the problem. 我无法找出问题所在。 Thanks in advance. 提前致谢。

Just in case still struggling... 万一仍然挣扎...

How is दिल stored in memory for your app? app如何存储在应用程序的内存中? Is it following Unicode sequence \द, \ि, \ल? 它遵循Unicode序列\\ u0926,\\ u093f,\\ u0932吗? Which font are you using for presentation? 您使用哪种字体进行演示?

The problem existed in Windows Phone 7.0 version. Windows Phone 7.0版本中存在此问题。 I have updated the application to Windows Phone 7.1 and it is now working fine. 我已经将应用程序更新为Windows Phone 7.1,现在可以正常工作了。

Thank you Amir E. Aharoni and Sabinia. 谢谢Amir E. Aharoni和Sabinia。

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

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