on 4/13/01 7:50 PM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:

> geirm       01/04/13 19:50:19
> 
> Modified:    src/java/org/apache/velocity/runtime/parser Parser.jjt
> Log:
> Added support for alternate character encoding in the inputstream's
> (templates...)
> 
> Revision  Changes    Path
> 1.58      +31 -2 
> jakarta-velocity/src/java/org/apache/velocity/runtime/parser/Parser.jjt
> 
> Index: Parser.jjt
> ===================================================================
> RCS file: 
> /home/cvs/jakarta-velocity/src/java/org/apache/velocity/runtime/parser/Parser.
> jjt,v
> retrieving revision 1.57
> retrieving revision 1.58
> diff -u -r1.57 -r1.58
> --- Parser.jjt    2001/03/05 11:46:36    1.57
> +++ Parser.jjt    2001/04/14 02:50:19    1.58
> @@ -120,7 +120,7 @@
>   *
>   * @author <a href="mailto:[EMAIL PROTECTED]">Jason van Zyl</a>
>   * @author <a href="mailto:[EMAIL PROTECTED]">Geir Magnusson Jr.</a>
> - * @version $Id: Parser.jjt,v 1.57 2001/03/05 11:46:36 jvanzyl Exp $
> + * @version $Id: Parser.jjt,v 1.58 2001/04/14 02:50:19 geirm Exp $
>  */
>  public class Parser
>  {
> @@ -134,6 +134,11 @@
>       */
>      String currentTemplateName = "";
>  
> +    /**
> +     *  encoding for the input stream.
> +     */
> +    private String inputEncoding = "ISO-8859-1";
> +

Isn't there already a constant for that in the code somewhere?

-jon

Reply via email to