【发布时间】:2010-03-23 16:53:54
【问题描述】:
我在速度模板文件中有非 ascii 字符。并且在处理时它们是乱码。
文件以 UTF-8 编码保存,响应头 contentType 也设置为text/html;charset=UTF-8。
还能做什么?
【问题讨论】:
-
你使用什么版本的 Velocity?
-
你建议的解决方案对我不起作用
标签: unicode velocity non-ascii-characters