mirror of
https://github.com/apache/struts.git
synced 2026-08-31 19:35:40 +00:00
Patch WW-3945
Set default encoding for JSONResult to UTF-8 Now the default encoding is UTF-8 for JSON as should be.
This commit is contained in:
@@ -80,7 +80,7 @@ public class JSONResult implements Result {
|
||||
public static final String DEFAULT_PARAM = null;
|
||||
|
||||
private String encoding;
|
||||
private String defaultEncoding = "ISO-8859-1";
|
||||
private String defaultEncoding = "UTF-8";
|
||||
private List<Pattern> includeProperties;
|
||||
private List<Pattern> excludeProperties;
|
||||
private String root;
|
||||
|
||||
Reference in New Issue
Block a user