报告中的阿拉伯语言显示不正确,请提供帮助 [英] Arabic Language not appear correctly in report, please help

查看:75
本文介绍了报告中的阿拉伯语言显示不正确,请提供帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我有一个带有标题字符串参数的报告,当传递英语字符串时,它可以正常工作,但是当传递阿拉伯字符串时,它显示为垃圾.

http://social.technet.microsoft.com/Forums/getfile/78420 [ ^ ]

http://social.technet.microsoft.com/Forums/getfile/78421 [ ^ ]

Windows 2008 Server R2,SQL 2008/SQL 2008 R2,

在Windows 7中,使用SQL 2008可以正常工作

但是如图所示,在Visual Studio中运行时效果很好,

否:阿拉伯数据集结果运行良好.

请提供任何帮助.

在此先感谢

Hi all,

I have an report with string parameter for the title, when pass english string it works fine, but when pass arabic string it shows rubbish.

http://social.technet.microsoft.com/Forums/getfile/78420[^]

http://social.technet.microsoft.com/Forums/getfile/78421[^]

windows 2008 server R2, SQL 2008 / SQL 2008 R2,

in window 7 , with SQL 2008 it works fine

But as shown in image , it works fine when run from visual studio ,

Not : Arabic dataset results works fine.

Any Help please.

thanks in advance

推荐答案

请参阅我对问题的评论.阿拉伯文字没问题,因为如今所有东西都可以使用Unicode.默认情况下,几乎所有现代系统都支持阿拉伯语脚本,并且阿拉伯语脚本非常受欢迎.

您只需要使用Unicode数据类型来处理SQL Server中的文本.您可以使用ncharnvarcharntext数据类型.请参阅:
http://msdn.microsoft.com/en-us/library/aa933104%28v = sql.80%29.aspx [ ^ ].

因此,首先,请确保您正确执行此操作.对于.NET,它还是只支持Unicode,除非您使用一些技巧将它弄乱了……:-)

—SA
Please see my comment to the question. Arabic script is none of a problem, as everything works with Unicode these days; and Arabic script is very well-known and popular enough to be supported by nearly all modern systems by default.

You only need to use Unicode data type working with texts in SQL servers. You can use nchar, nvarchar, or ntext data types. Please see:
http://msdn.microsoft.com/en-us/library/aa933104%28v=sql.80%29.aspx[^].

So, to start with, make sure you do it properly. As to .NET, it only supports Unicode anyway, unless you screw it up with some tricks… :-)

—SA


这篇关于报告中的阿拉伯语言显示不正确,请提供帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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