解决当模板(除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
主要把输入输出的字符编码从 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