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.
> 
> 
> 


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

Reply via email to