Hi, We're using Velocity with WW2 and international characters? AFAIK the WebWorkVelocityServlet just uses the standard webwork.i18n.encoding property when encoding the templates?
Cheers, Mike On 25/2/04 1:56 AM, "remigijus" ([EMAIL PROTECTED]) penned the words: > You are right it is possible to do as you said. But it does not helps much. > The question was how to use velocity with internation characters from ww. I > know it's possible to maje changes in the interceptor, I hope and evrything > will be file. At least I hope so. But I'm wendering why it was not done > before. Or maybe it's done already but is not documented. > > > ----- Original Message ----- > From: "Anthony Eden" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, February 24, 2004 4:42 PM > Subject: Re: [OS-webwork] velocity how to change character encoding > > >> I've had no problem displaying non-ASCII characters with Velocity and >> UTF-8. I pass the encoding when I call mergeTemplate(). Is the problem >> perhaps in how WW uses Velocity? Are there facilities in WW for setting >> the encoding when merging the template? >> >> -Anthony >> >> remigijus wrote: >> >>> After long time and problems with memeory at last I desided to switch to >>> velocity and after first try i got dashed. I see velocity is a pain when > it >>> comes to support international charset's. >>> >>> Does anyone uses ww with velocity for international sites? >>> If yes how do they do that? >>> >>> Remis >>> >>> >>> >>> ----- Original Message ----- >>> From: "Scott Farquhar" <[EMAIL PROTECTED]> >>> To: <[EMAIL PROTECTED]> >>> Sent: Tuesday, February 24, 2004 6:31 AM >>> Subject: Re: [OS-webwork] velocity how to change character encoding >>> >>> >>> >>> >>>> remigijus wrote: >>>> >>>> >>>> >>>>> Just started to use velocity instead of JSP and got first questions. >>>>> 1. How to set caharacter encoding >>>>> 2. How can I get array size from the velocity template. >>>>> >>>>> As I see it looks that freemarker does not have such problems. >>>>> >>>>> >>>> Um - what problems does freemarker not have? >>>> >>>> -- >>>> >>>> ATLASSIAN - http://www.atlassian.com/ >>>> Expert J2EE Software, Services and Support >>>> ------------------------------------------------------- >>>> Confluence - the professional J2EE wiki - tried it yet? >>>> http://www.atlassian.com/confluence/ >>>> >>>> >>>> >>>> ------------------------------------------------------- >>>> SF.Net is sponsored by: Speed Start Your Linux Apps Now. >>>> Build and deploy apps & Web services for Linux with >>>> a free DVD software kit from IBM. Click Now! >>>> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click >>>> _______________________________________________ >>>> Opensymphony-webwork mailing list >>>> [EMAIL PROTECTED] >>>> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork >>>> >>>> >>> >>> >>> >>> ------------------------------------------------------- >>> SF.Net is sponsored by: Speed Start Your Linux Apps Now. >>> Build and deploy apps & Web services for Linux with >>> a free DVD software kit from IBM. Click Now! >>> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click >>> _______________________________________________ >>> Opensymphony-webwork mailing list >>> [EMAIL PROTECTED] >>> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork >>> >>> >> >> >> >> ------------------------------------------------------- >> SF.Net is sponsored by: Speed Start Your Linux Apps Now. >> Build and deploy apps & Web services for Linux with >> a free DVD software kit from IBM. Click Now! >> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click >> _______________________________________________ >> Opensymphony-webwork mailing list >> [EMAIL PROTECTED] >> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork