高棉语 unicode 在 Microsoft 客户端报告 (rdlc) 中无法正确显示
我构建了一个 winform 应用程序,使用 khmer unicode 字体记录信息。对于我的应用程序,我使用 C# 与 sqlserver 和 microsoft 客户端报告 (rdlc) 来生成报告。 现在我遇到了 rdlc 报告的问题,该报告无法正确显示高棉语 unicode 字体。 它显示如下链接中的图像:
http://i1138.photobucket.com /albums/n522/sandeep251183/CRViewer.png
它应该看起来像这样
http://i1138.photobucket.com/albums/n522/sandeep251183/CRExportHTML-1 .png
有人能为我找到解决方案吗?
I building a winform application that records information using khmer unicode font. For my application i use c# with sqlserver and microsoft client report (rdlc) to generate reports.
Now i have a problem with the rdlc report that does not display khmer unicode font correctly.
It displays like the image in the links below:
http://i1138.photobucket.com/albums/n522/sandeep251183/CRViewer.png
It should look like this
http://i1138.photobucket.com/albums/n522/sandeep251183/CRExportHTML-1.png
Can anyone find a solution for me?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
经过多次研究,我找到了一些解决这个问题的方法。
1) 如果您使用 Dot Net Framework 3.5 Windows 窗体应用程序,高棉 Unicode 字体将无法在 Microsoft 客户端报告(rdlc 报告)中正确显示,但它在 Web 应用程序上与 Microsoft 客户端报告一起正常工作,因为您可能有新版本的您的浏览器可以处理此问题。
2) 在 Dot Net Framework 4.0 中,Windows 或 Web 应用程序中的 Microsoft 客户端报告与 Unicode 配合得很好。
3) 对于那些喜欢 Crystal 报表的人,可以将 Crystal ActiveX 报表查看器控件与 Crystal Report 业务对象一起应用,因为 Visual Studio 2008 或更早版本附带的 Crystal Report 也与使用高棉语 Unicode 的 rdlc 报表存在相同的问题。以下是使用带有高棉语 Unicode 的 Crystal 报表的链接: http://computer-experience.blogspot.com/2008/12/khmer-unicode-with-crystal-report-in-c.html
4) 我在 StimulSoft 报告上发现了一个非常酷的文本质量字段属性功能,可以将其更改为标准、印刷或Wysiwyg 完全支持 unicode 字符。
After many researches, I found some solutions for this problem.
1) If you use Dot Net Framework 3.5 windows Forms Application, Khmer Unicode font won't display properly in Microsoft Client Side report(rdlc report) but it works just fine with Microsoft Client Side report on Web Application because you may have new version of your browser that can handle this issue.
2) In Dot Net Framework 4.0 Microsoft Client Side report in either windows or web application works very well with Unicode.
3) For those of you who prefer Crystal report could apply a Crystal ActiveX Report Viewer Control with Crystal Report Business Object because Crystal Report that ships with Visual Studio 2008 or earlier has also the same problem as rdlc report with Khmer Unicode. Here is a link for using Crystal report with Khmer Unicode: http://computer-experience.blogspot.com/2008/12/khmer-unicode-with-crystal-report-in-c.html
4) I found a very cool feature of Text Quality field property on StimulSoft Report, which can be changed to Standard, Typographic or Wysiwyg that totally support with unicode characters.
高棉语渲染有几个问题,具体取决于您使用哪种技术来显示它。查看与高棉语相关的内容关于全部整理的帖子。
Khmer rendering has a couple of issues depending on which technology you use to display it. Have a look at Khmer-related posts on Sorting It All Out.