Permalink
Browse files

fix for GRAILS-4738

  • Loading branch information...
1 parent ddeebbc commit 827774ee93c5246fecfd1baa10ed0a24a6807e3e @graemerocher graemerocher committed Jul 21, 2009
@@ -116,7 +116,7 @@ public Object invoke(Object target, String methodName, Object[] arguments) {
String text = arguments[0].toString();
renderView = renderText(text, response);
} else if (arguments[0] instanceof Closure) {
- setContentType(response, TEXT_HTML, DEFAULT_ENCODING, true);
+ setContentType(response, TEXT_HTML, gspEncoding, true);
Closure closure = (Closure) arguments[arguments.length - 1];
renderView = renderMarkup(closure, response);
} else if (arguments[0] instanceof Map) {

0 comments on commit 827774e

Please sign in to comment.