请等待数据载入中...
Please wait until this screen is completely loaded.

风のBlog - 我的大杂烩

« 一款清爽的Longhorn风格的XP主题 | 首页 | Cluster in CF Enterprise Manager »

2005年03月28日

Cfdocument和PDF生成支持中文

如果你使用ColdFusion MX 7,你有可能会发现你在用cfdocument标签或者reportbuilder生成PDF文档的过程中无法正确显示中文,中文会被显示成为?号或者一个个的方块符号。下面是解决方法:
1.打开cf_root/lib目录文件夹
2.找到cffont.properties和cffont.properties.ja文件
3.复制cffont.properties.ja文件并且重新命名为cffont.properties.zh文件(cf7文档有错,不是cffont.properties.cn文件)
4.重启动cf7
5.此外,如果你用cfreport builder,请在edit->Preferences面板里,找到PDF Character Encoding项,把CP1252的值改为Identity-H即可。

另外,Macromedia刚刚更新了CF Report Builder,具体请访问这里,最重要的更新是所有的report在UTF-8模式下内容被削减的现象已经被修正。

收藏此页到:365Key网摘   新浪VIVI   天极网摘   博采中心   YouNote网摘

Posted by luckywind at 2005年03月28日 下午01时45分 | English Version | Blog Home

Trackback Pings

TrackBack URL for this entry:
http://www.luckywind.net/cgi-bin/mt/mt-tb.cgi/372

Comments

Post a comment




Remember Me?



Copyright © O.CN, all rights reserved. 湘ICP备06007926号 
XHTML, CSS, 508, RDS, RSS 1.0, RSS 2.0, ATOM. Powered by Movable Type 3.33

我的邮箱:luckywind 网站地图 闲言碎语 游戏专区 新闻文章 推荐工具 技术新知 休闲娱乐 我的收藏 返回首页
风のBlog - 我的大杂烩 Articles catalogue

luckywind.net v 4_2