请您先登录,才能继续操作

t5中文问题

dengry 2008-11-19
我试了试tapestry5.0.16,感觉不错,简洁,但碰到了中文问题,在页面上用[<t:pagelink t:page="Index">刷新</t:pagelink>],出现:Failure parsing template context:Index.tml: Invalid byte 2 of 2-byte UTF-8 sequence.各位老大咋解决?谢谢
tapestry 2008-11-19
这个用其他的框架也会出现这个问题吧,应该不是tapestry的问题,你将tml文件转码为utf8试试.
duker 2008-11-20
用tp不如用wicket
dengry 2008-11-20
tml文件转成UTF-8就好了,谢谢
bill_mouse 2008-11-24
duker 写道
用tp不如用wicket

来了砸场子的,呵呵
lishubing_2000 2008-11-26
上面的问题这样解决
在tml模板顶部加入你的模板编码即可
例如
<?xml version="1.0" encoding="GBK"?>




t5写的新站,刚发布两天
http://www.lifex.cn

具体用t5+ejb3开发,现在用t5.0.16
欢迎讨论
网站群qq:67705035

Global site tag (gtag.js) - Google Analytics