我正在使用Visual Foxpro 9,我想在报告(frx)中打印Unicode字符。 有一些方法可以扩展报告监听器以显示unicode。我需要代码来扩展/显示reportListner以显示unicode。Visual FoxPro 9.0报告显示unicode
0
A
回答
1
我从来没有与任何VFP内的Unicode工作,或者花费任何时间与报告工作,但帮助了ReportListener的的Render方法确实提到的Unicode:
cContentsToBeRendered
Indicates the text to be rendered for Expression (Field) and Label layout elements.
For Picture layout elements sourced from a file, cContentsToBeRendered contains the filename.
When specifying a filename for an image, ReportListener provides cContentsToBeRendered
as a DBCS string, which is the standard format for strings in Visual FoxPro.
However, when indicating text to be rendered, ReportListener provides
cContentsToBeRendered as a Unicode string, appropriately translated to the correct
locale using any regional script information associated with this layout control in
its report definition file (frx) record.
If your derived class sends the text value through some additional processing, such as
storage in a table, you can use the STRCONV() function, and its optional regional
script parameter, to convert the string to DBCS first. For more information, see
STRCONV() Function.
0
虽然我可能不正确,但我相信VFP不支持UniCode,只能用于基本ASCII字符集。但是再一次,我从来都不需要使用Unicode,并且从使用寿命开始就使用了FoxPro。
0
我会想像瑞克斯特拉尔的文章Using Unicode in Visual FoxPro Web and Desktop Applications将在这个话题上相当明确。
相关问题
- 1. Visual Foxpro 9.0
- 2. Visual FoxPro报告2
- 3. Visual FoxPro 9.0写入FoxPro 2.6表
- 4. 在Asp.net中重用Visual Foxpro报告
- 5. Visual FoxPro报告问题 - 摘要乐队
- 6. 从.Net呼叫FoxPro报告
- 7. 显示子报告报告
- 8. Visual Studio报告中的聚合报告不显示
- 9. FoxPro 9.0加入汇总表
- 10. FoxPro 9.0 LEFT JOIN被覆盖
- 11. FoxPro 9.0弹出窗口
- 12. FoxPro 9.0中通过表
- 13. 显示报告
- 14. 显示报告
- 15. ADO OleDB Visual Foxpro
- 16. 在Win 2008/2012服务器上运行Visual FoxPro报告
- 17. 使用Unicode报告
- 18. 是否可以反汇编Visual FoxPro 9.0 exe文件?
- 19. visual foxpro 9.0,如何查找/获取重复记录
- 20. Visual Studio 2010和FoxPro 9.0运行时错误:“功能不可用”。
- 21. Microsoft Windows Server 2003 R2上的Visual FoxPro(9.0)问题
- 22. 在Visual FoxPro 9.0数据库中将字符转换为ascii
- 23. asp.net 3.5中的多晶报告9.0
- 24. 显示'#Error'的地方RDLC报告应显示报告参数
- 25. Unicode字符不显示在JasperReports的报告中
- 26. 如何在RDLC中显示Unicode字符Microsoft Dynamic NAV 2013报告?
- 27. FoxPro 9.0如何通过程序循环
- 28. 子报告没有显示
- 29. 报告无法显示。 (rsProcessingAborted)
- 30. 如何显示在报告
这可以很方便:http://stackoverflow.com/questions/13612627/foxpro-google-translate-and-unicode/13613750 –