velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Will Glass-Husain" <wglasshus...@gmail.com>
Subject Re: turkish encoding problem
Date Mon, 27 Aug 2007 14:28:18 GMT
That seems about right to me.  Are you calling velocityEngine when merging
the template (be sure you don't call the singleton Velocity).

WILL

On 8/27/07, srht <serhattas05@gmail.com> wrote:
>
>
> hi
> i use velocity engine with rtf template in my java application.
> but it cant write  turkish characters truly in rtf file. i try set
> velocity
> engine encoding below.
>                 Properties p = new Properties();
>
>                   p.setProperty( VelocityEngine.INPUT_ENCODING,
> "Windows-1254");
>                   p.setProperty( VelocityEngine.OUTPUT_ENCODING,
> "Windows-1254");
>                   p.setProperty(VelocityEngine.ENCODING_DEFAULT,
> "Windows-1254");
>   and
>                   p.setProperty( VelocityEngine.INPUT_ENCODING,
> "ISO-8859-9");
>                   p.setProperty( VelocityEngine.OUTPUT_ENCODING,
> "ISO-8859-9");
>                   p.setProperty(VelocityEngine.ENCODING_DEFAULT,
> "ISO-8859-9");
>                  velocityEngine.init(p);
>
> but it cant work. what else can i do?
> thnks for help...
>
>
> --
> View this message in context:
> http://www.nabble.com/turkish-encoding-problem-tf4334216.html#a12343968
> Sent from the Velocity - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> For additional commands, e-mail: user-help@velocity.apache.org
>
>


-- 
Forio Business Simulations

Will Glass-Husain
wglass@forio.com
www.forio.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message