(The __reponse_encoding variable causes issues with the 'smart' html
editor in eclipse when it sees the template contains an unknown
encoding called __response_encoding (mostly, I hate that part of
eclipse). I've not seen any way to disable the auto-detect of html
encoding either, which is a shame, bar some hacks of specifying the
encoding differently.)
// If current response-object is present, add _response_encoding'
Http.Response currentResponse = Http.Response.current();
if (currentResponse != null) {
binding.setVariable("_response_encoding", currentResponse.encoding);
}
Also, Erdinc, I would like to put some time to the Play module, but
I've been overloaded again. Sorry. I hope to have some proper time
soon.
Tom