我正在使用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 –