带有表情符号的阿拉伯文字有反向
我在阿拉伯文字中有一个奇怪的行为,
,
即使
Text('Hello
I have a strange behavior in Arabic text with emoji
for example
English
Text('Hello ????') => outputs in UI as expected 'Hello ????'
Arabic
Text('???? الله الرحمن', textAlign: TextAlign.right ) => outputs in UI 'الله الرحمن ???? '
edit
in case the following i can get result as expected
Text('الله اكبر ???? الله الرحمن', textAlign: TextAlign.right ) => outputs in UI 'الله اكبر ???? الله الرحمن'
// but if emoji was at the fist or end so it comes with reverse side
even with removig TextAlign.right
still the same behavior
How could i solve this ? i am totally confused
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以在文本中使用Unicode,而不是直接添加表情符号。
您可以搜索表情符号unicode,并使用\ u {codehere}
编辑
使用文本方向
You can use unicode in text instead of directly adding the emoji.
you can search for emoji unicode and use \u{codehere}
Edit
Use text Direction