火星文 技术研习社

Noname Cat, Keep Thinking
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

NVelocity 0.5.0.1 发布,支持模板包含 UTF-8 编码的字符

Posted on 2006-10-18 21:31  剑廿三  阅读(953)  评论(0)    收藏  举报
解决当模板(除VTL标记外)包含中文时输出显示乱码的问题。

主要把输入输出的字符编码从 ISO-8859-1 改为 UTF-8,因此要求模板采用 UTF-8 字符编码编写及存储。

编译环境:Visual Studio 2005 TeamSuite

Release 的程序集
https://files.cnblogs.com/stephencat/NVelocity-bin-0.5.0.1.rar

NVelocity 源代码:
https://files.cnblogs.com/stephencat/NVelocity-src-0.5.0.1.rar

NVelocity 原版源代码(SVN 源码管理,目前由 Castle Project 维护)
http://svn.castleproject.org/svn/castle/trunk/Tools/NVelocity/


SVN工具推荐使用 TortoiseSVN