If the file has only ASCII characters (7 bit) everything will work OK.
If it has binary content or other encoding, you will most probably have some 
funny characters in your output.
Since some very few byte sequences are invalid UTF8, I'm not sure, but it could 
cause an IO exception.

:) Christoph


ChadDavis on 2011-01-10 21:27 wrote:
If I'm obtaining my template with the following:

velocityEngine.getTemplate ( "myTemplate", "UTF-8" );

What will happen if the template is not encoded in UTF-8?  Will the template
be processed, even if incorrectly, and used?  Or will the template be turned
down immediately?


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to