You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by Gagan 007 <ga...@yahoo.com> on 2005/02/02 19:13:49 UTC

japanese characters

Has anybody tried using Velocity with Japanese characters??/
If so then plz send me the sampe code.....

Incze Lajos <in...@axelero.hu> wrote:
On Tue, Feb 01, 2005 at 04:38:58AM -0800, Gagan 007 wrote:
> I am using Velocity in my application, I need multilingual support in the application, does Veloctiy supports Unicode characters??
> 
> If not then what other tools do we have?
> 

Use

#----------------------------------------------------------------------------
# T E M P L A T E E N C O D I N G
#---------------------------------------------------------------------------- 
input.encoding=UTF-8
output.encoding=UTF-8

in your velocity.properties file.

incze

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org


		
---------------------------------
Do you Yahoo!?
 Yahoo! Search presents - Jib Jab's 'Second Term'

Re: japanese characters

Posted by Shinobu Kawai <sh...@gmail.com>.
Hi Gagan,

First, please post this to the user list.  Unless, of course, you're
trying to i18n-ize Velocity itself.

On Wed, 2 Feb 2005 10:13:49 -0800 (PST), Gagan 007
<ga...@yahoo.com> wrote:
> Has anybody tried using Velocity with Japanese characters??/
> If so then plz send me the sampe code.....

I've done it before, for web and e-mail templates.  I don't have the
code any more, but incze's advice is the answer.

> Incze Lajos <in...@axelero.hu> wrote:
> On Tue, Feb 01, 2005 at 04:38:58AM -0800, Gagan 007 wrote:
> > I am using Velocity in my application, I need multilingual support in the application, does Veloctiy supports Unicode characters??
> >
> > If not then what other tools do we have?
> >
> 
> Use
> 
> #----------------------------------------------------------------------------
> # T E M P L A T E E N C O D I N G
> #----------------------------------------------------------------------------
> input.encoding=UTF-8
> output.encoding=UTF-8
> 
> in your velocity.properties file.
> 
> incze

Best regards,
-- Shinobu

--
Shinobu "Kawai" Yoshida <sh...@gmail.com>

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org