From 2c3ad709f7c8957e129fa80b51e5ce7e6da29ad7 Mon Sep 17 00:00:00 2001 From: Eduard Date: Fri, 1 Jun 2018 15:03:59 +0300 Subject: [PATCH] Enforce utf-8 in API Enforce utf-8 --- src/cls/EntityBrowser/API.cls | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/cls/EntityBrowser/API.cls b/src/cls/EntityBrowser/API.cls index 7fc9314..2b85a07 100644 --- a/src/cls/EntityBrowser/API.cls +++ b/src/cls/EntityBrowser/API.cls @@ -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) +} + }