velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Damian Gajda <dga...@ngo.pl>
Subject RE: character encoding problem
Date Tue, 17 Sep 2002 10:30:08 GMT
> Maybe it is not a case of Velocity, maybe it is a case of Java itself. I
> just wanted to ask if there is anybody's having such problem before.
> 
> <->
> 
> I wonder if somebody already tried to rewrite a mergeTemplate method to suit
> his needs.
> Maybe the problem of mine is in wrong implementation of the method
> (especially character encoding sensitive streams) ?
> 
> If so, please provide me some lines of code to understand.
> 
> Regards,
> 
> Wojciech

We had the same problems, but it had nothing to do with Velocity or
Java. The problem cause was Tomcat's 'magic' encoding guessing, which
lead to setting the wrong encoding (always ISO-8859-1). What version of
Tomcat you are using?

Greetz,
-- 
Damian Gajda
Web Application Design and Consultancy
dgajda@ngo.pl
mobile +48 501 032 506



--
To unsubscribe, e-mail:   <mailto:velocity-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:velocity-user-help@jakarta.apache.org>


Mime
View raw message