Hi,
I am quite new to Velocity. My requirement is that I need to process a
template that has greek characters in it. The current encoding used in
my Java code is UTF-8 which doesn't work.
Has anyone used Velocity for Greek and is yes, whats the encoding that
needs to be used?
Regards,
Sandeep
Tuesday, May 3, 2005, 9:26:21 AM, Sandeep kamath wrote:
Hi,
I am quite new to Velocity. My requirement is that I need to process a
template that has greek characters in it. The current encoding used in
my Java code is UTF-8 which doesn't work.
Has anyone used Velocity for Greek and is
On Tuesday 03 May 2005 10:16, Daniel Dekany wrote:
Tuesday, May 3, 2005, 9:26:21 AM, Sandeep kamath wrote:
Hi,
I am quite new to Velocity. My requirement is that I need to process a
template that has greek characters in it. The current encoding used in
my Java code is UTF-8 which
In velocity.properties use
input.encoding=ISO-8859-7 or UTF-8, depending on the encoding of the
templates.
Regards,
Markos
On Tuesday 03 May 2005 10:26, Sandeep kamath wrote:
Hi,
I am quite new to Velocity. My requirement is that I need to process a
template that has greek characters in
Hi Daniel,
Many Thanks. I did try ISO-8859-7 but it still wont work. I
get junk characters on the output stream.
I used Velocity.getTemplate(template file name, ISO-8859-7);
The template file is in ISO-8859-7 encoding. It still wont work.
Regards,
Sandeep
-Original
Tuesday, May 3, 2005, 12:27:01 PM, Sandeep kamath wrote:
Hi Daniel,
Many Thanks. I did try ISO-8859-7 but it still wont work. I
get junk characters on the output stream.
I used Velocity.getTemplate(template file name, ISO-8859-7);
The template file is in ISO-8859-7 encoding. It
Tuesday, May 3, 2005, 2:14:47 PM, Daniel Dekany wrote:
Tuesday, May 3, 2005, 12:27:01 PM, Sandeep kamath wrote:
Hi Daniel,
Many Thanks. I did try ISO-8859-7 but it still wont work. I
get junk characters on the output stream.
I used Velocity.getTemplate(template file name,
Hi Daniel,
I am using the FOP tool to generate a PDF out of the velocity
output. I create a OutputStream object that I send alongwith the
Velocity output to the FOP tool to generate a PDF. But the PDF doesn't
show the greek characters. UTF-8 characters and UTF-8 encoding works
fine
but
Tuesday, May 3, 2005, 2:55:03 PM, Sandeep kamath wrote:
Hi Daniel,
I am using the FOP tool to generate a PDF out of the velocity
output. I create a OutputStream object that I send alongwith the
Velocity output to the FOP tool to generate a PDF. But the PDF doesn't
show the greek
I did try that but no luck. I have the encoding at 3 places but doesn't
seem to make any difference.
-Original Message-
From: Daniel Dekany [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 03, 2005 6:41 PM
To: Sandeep kamath
Cc: Velocity Users List
Subject: Re: Encoding Problem
Tuesday, May
Liked the article.
http://www.onjava.com/pub/a/onjava/2005/04/27/restweb.html
Nice job, Jason!
WILL
___
Forio Business Simulations
Will Glass-Husain
[EMAIL PROTECTED]
www.forio.com
-
To
Hi Sandeep,
the platform you are running probalby defaults to UTF-8 (aka Unix).
Please check that the XML you are producing from velocity does have
an XML header with the character encoding properly set (must match
the encoding used for the velocity output writer).
As Daniel stated, you will need
Tuesday, May 3, 2005, 3:38:17 PM, Sandeep kamath wrote:
I did try that but no luck. I have the encoding at 3 places but doesn't
seem to make any difference.
But at which step go things wrong? Are you 100% sure the XML files are
correct? (I suppose you can write them into files and see.) If so,
I tried to compare a float number to a certain value like:
#set($afloat=$floatObject.float)
#set($count = 0)
#if ($afloat = 4)
#set($count = $count + 1)
#end
But it was always evaluated as false, $count is always 0.
Thanks in advance.
On Wednesday 04 May 2005 03:47, jill han wrote:
I tried to compare a float number to a certain value like:
#set($afloat=$floatObject.float)
#set($count = 0)
#if ($afloat = 4)
#set($count = $count + 1)
#end
But it was always evaluated as false, $count is always 0.
Velocity doesn't
Hello all,
I'm looking for a way to get a list of the variables referenced in a
template. I found a message titled List of variables present in template?
http://mail-archives.apache.org/mod_mbox/jakarta-velocity-user/200111.mbox/[EMAIL PROTECTED]
with a comment from Geir Magnusson Jr. (I
Hello all,
I'm looking for a way to get a list of the variables referenced in a
template. I found a message titled List of variables present in
template?
http://mail-archives.apache.org/mod_mbox/jakarta-velocity-user/
200111.mbox/[EMAIL PROTECTED]
with a comment from Geir Magnusson Jr. (I
The unreleased Velocity 1.5-dev (grab the nightly snapshot of the source
code) handles floats and all other number types.
Best,
WILL
- Original Message -
From: Peter Harrison [EMAIL PROTECTED]
To: Velocity Users List velocity-user@jakarta.apache.org
Sent: Tuesday, May 03, 2005 1:52 PM
Hi Jerry,
I'm looking for a way to get a list of the variables referenced in a
template. I found a message titled List of variables present in template?
http://mail-archives.apache.org/mod_mbox/jakarta-velocity-user/200111.mbox/[EMAIL
PROTECTED]
with a comment from Geir Magnusson Jr. (I
19 matches
Mail list logo