Skip to content

Commit

Permalink
Enforce utf-8 in API
Browse files Browse the repository at this point in the history
 Enforce utf-8
  • Loading branch information
eduard93 authored and Nikita Savchenko committed Jun 2, 2018
1 parent 7a16bfd commit 2c3ad70
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/cls/EntityBrowser/API.cls
Original file line number Diff line number Diff line change
Expand Up @@ -466,4 +466,11 @@ ClassMethod TokenizeString(Output pTokens, pString As %String)
}
}

/// Enforce utf-8
ClassMethod %ProcessResult(pSC As %Status, pResult As %DynamicObject = "") As %Status [ Internal ]
{
set %response.CharSet = "utf-8"
quit ##super(pSC, pResult)
}

}

0 comments on commit 2c3ad70

Please sign in to comment.