Skip to content

Commit b907f1d

Browse files
authored
add CHARSET parameter
Apparently we need to set the CHARSET parameter on the routing class (EntityBrowser.Router) as the one in the class routed to (EntityBrowser.API) is ignored.
1 parent f8906f9 commit b907f1d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/cls/EntityBrowser/ServeXData.cls

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
Class EntityBrowser.ServeXData Extends %CSP.REST [ Abstract ]
44
{
55

6+
/// Charset to use for REST responses (includes the ones forwarded to EntityBrowser.API)
7+
Parameter CHARSET = "utf-8";
8+
69
/// This is the <Routes> example. Copy this definitions to the URLMap XData of your class.
710
XData UrlMap
811
{

0 commit comments

Comments
 (0)