Hope this does the job: -
VelocityEngine ve = new VelocityEngine();
Properties p = new Properties();
p.setProperty(VelocityEngine.INPUT_ENCODING, "UTF-8");
p.setProperty(VelocityEngine.OUTPUT_ENCODING, "UTF-8");
ve.init(p);
Santosh.
KrustyDerClown wrote:
Hello,
i have a problem with velocity.
I am wondering why my page cant display correct cyrillic characters. So i am looking in Velocity code and i detect in the class RuntimeConstants the final static variable public static final String ENCODING_DEFAULT = "ISO-8859-1";
But i need the Encoding "UTF-8".
HOW can i change the encoding?
Thank you for your help.
Greets Oliver
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]