Please keep responding to the list, don't send private messages.

If you have to handle different encodings I would recommand using
different instances of Velocity.


  Claude

Le jeudi 27 décembre 2007 à 19:07 +0600, ZEESHAN a écrit :
> Hi,
> 
> Thanks for ur reply,
> 
> I cant set output.encoding= CP-1251
> because, i want only one of my templates to be encoded in CP-1251,
> rest all shld have defauld encoding.
> 
> I feel if i set output.encoding= CP-1251, output of all my template
> will be affected. 
> 
> 
> On Dec 27, 2007 7:00 PM, Claude Brisson <[EMAIL PROTECTED]> wrote:
>         Have you set
>         
>         input.encoding = CP-1251
>         output.encoding = CP-1251
>         
>         inside velocity.properties?
>         
>         
>          Claude
>         
>         Le mercredi 26 décembre 2007 à 11:17 +0600, ZEESHAN a écrit :
>         
>         > Hi Friends,
>         >
>         > I am using Apace
>         > .Velocity 1.4 for creating Xml Files thru Template.
>         > My requirement is that the *Russian Xml files* to be created
>         should be
>         > encoded in *CP-1251*.
>         > XML encoded in Character Set CP-1251 is properly viewed from
>         browser as the
>         > tags of the xml file
>         > is also in Russian.
>         >
>         > The template i am using for creation of xml file is also
>         encoded in CP1251 
>         >
>         > My problem is that the output File generated is getting
>         encoded in UTF-8 ,
>         > instead of
>         > getting encoded in CP1251.
>         >
>         > Pls help me on how to get the output file encoded in
>         CP1251. 
>         >
>         >
>         >
>         
>         
> 
> 
> 
> -- 
> Thanks and Regards,
> Zeeshanur Rahman,
> 3i-Infotech Ltd.
> Kazakhstan, Almaty,
> Mob- +77077011654


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to