velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mailmur <>
Subject Re: getEncodingFromStream from UnicodeInputStream
Date Mon, 13 Jul 2009 19:15:52 GMT

I think its not possible, its basicly an internal bytesToChars issue to know about encoding.
Textual templates know nothing about byte storage they run at character level nor know nothing
about template loader instance was used.

What is it getTemplate() method you mean, can you point me to the class?

--- On Wed, 7/8/09, <> wrote:
> From: <>
> Subject: getEncodingFromStream from UnicodeInputStream
> To:
> Date: Wednesday, July 8, 2009, 2:48 PM
> Hi all,
> Is there a way to get the encoding information from
> UnicodeInputStream to use it in the getTemplate() method?
> How do I can use the encoding which was auto detected in
> case of unicode file recognition?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message