Skip to content

Commit 2c3ad70

Browse files
eduard93zitros
authored andcommitted
Enforce utf-8 in API
Enforce utf-8
1 parent 7a16bfd commit 2c3ad70

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/cls/EntityBrowser/API.cls

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -466,4 +466,11 @@ ClassMethod TokenizeString(Output pTokens, pString As %String)
466466
}
467467
}
468468

469+
/// Enforce utf-8
470+
ClassMethod %ProcessResult(pSC As %Status, pResult As %DynamicObject = "") As %Status [ Internal ]
471+
{
472+
set %response.CharSet = "utf-8"
473+
quit ##super(pSC, pResult)
474+
}
475+
469476
}

0 commit comments

Comments
 (0)