439374 Use utf-8 as default charset for html

This commit is contained in:
Greg Wilkins 2014-11-27 17:41:19 +11:00
parent 174f2992a8
commit a181b09d4c
1 changed files with 2 additions and 2 deletions

View File

@ -146,9 +146,9 @@ public class ResponseTest
response.setContentType("text/html");
assertEquals("text/html", response.getContentType());
response.getWriter();
assertEquals("text/html;charset=iso-8859-1", response.getContentType());
assertEquals("text/html;charset=utf-8", response.getContentType());
response.setContentType("foo2/bar2");
assertEquals("foo2/bar2;charset=iso-8859-1", response.getContentType());
assertEquals("foo2/bar2;charset=utf-8", response.getContentType());
response.recycle();
response.setContentType("text/xml;charset=ISO-8859-7");