在Delphi 2009的Rave Reports中显示unicode文本 [英] Displaying unicode text in Rave Reports on Delphi 2009

查看:199
本文介绍了在Delphi 2009的Rave Reports中显示unicode文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将德尔福2006应用程序移植到Delphi 2009中。开箱即用的unicode支持很简单 - 几乎不需要工作。大多数第三方控件已经有Delphi 2009更新。



Rave报告(最新版本7.6.1,可用这里)也已更新,但我似乎无法正确显示包含日语字符的RTF文本。在Delphi 2006中,我通过使用流从屏幕控件(TLMDRichEdit)读取RTF,然后执行CustomConnection.WriteBlobData,将RTF加载到RVCustomConnection的OnGetRow事件中的DataMemo组件。



在报表输出中,任何RTF文本现在显示为一系列直线和%符号。没有可读文本。所有其他文本(使用Text和DataText组件显示)正确显示。有没有人有任何关于如何让含有unicode的RTF正确显示的经验?是否支持?

解决方案

除非来自内华达的人关心评论,否则我认为这还不是可能的。


I am in the process of porting a Delphi 2006 app to Delphi 2009. Out of the box support for unicode has been easy - almost no work required. Most 3rd party controls already have Delphi 2009 updates available.

Rave Reports (latest version 7.6.1, available here) has also been updated, but I cannot seem to get it to correctly display RTF text containing Japanese characters. In Delphi 2006, I loaded RTF to the DataMemo component in a RVCustomConnection's OnGetRow event by reading the RTF from a screen control (TLMDRichEdit) using streams and then doing a CustomConnection.WriteBlobData.

In the report output, any RTF text now shows up as a series of rectanges and % signs. No readable text. All other text (displayed using Text and DataText components) displays correctly.

Does anyone have any experience on how to get RTF containing unicode to display correctly? Is it even supported?

解决方案

Unless someone from Nevrona cares to comment, I am concluding that it is not (yet) possible.

这篇关于在Delphi 2009的Rave Reports中显示unicode文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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