Skip to content

Commit 71ae20a

Browse files
authored
Merge pull request #630 from aliaspooryorik/development
JSON should be utf-8 encoded https://ortussolutions.atlassian.net/browse/COLDBOX-1370 #resolve
2 parents d9ee7ff + 7165921 commit 71ae20a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/Bootstrap.cfc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ component serializable="false" accessors="true" {
307307
// ColdBox does native JSON if you return a complex object.
308308
else {
309309
renderedContent = cbController.getUtil().toJson( local.refResults.results );
310-
getPageContextResponse().setContentType( "application/json" );
310+
getPageContextResponse().setContentType( "application/json;charset=utf-8" );
311311
}
312312
}
313313
// Render Layout/View pair via set variable to eliminate whitespace

0 commit comments

Comments
 (0)