summaryrefslogtreecommitdiff
path: root/plugin/GNU-Taler-Payment-Gateway/class-wc-gnutaler-gateway.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/GNU-Taler-Payment-Gateway/class-wc-gnutaler-gateway.php')
-rw-r--r--plugin/GNU-Taler-Payment-Gateway/class-wc-gnutaler-gateway.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/GNU-Taler-Payment-Gateway/class-wc-gnutaler-gateway.php b/plugin/GNU-Taler-Payment-Gateway/class-wc-gnutaler-gateway.php
index 6522b95..9b6df13 100644
--- a/plugin/GNU-Taler-Payment-Gateway/class-wc-gnutaler-gateway.php
+++ b/plugin/GNU-Taler-Payment-Gateway/class-wc-gnutaler-gateway.php
@@ -418,7 +418,7 @@ function gnutaler_init_gateway_class() {
'limit_response_size' => 1024 * 1024, // More than enough.
);
if ( $body ) {
- $args['body'] = wp_json_encode( $body, JSON_UNESCAPED_SLASHES, 0, 16 );
+ $args['body'] = wp_json_encode( $body, JSON_UNESCAPED_UNICODE|JSON_UNESCAPED_SLASHES, 16 );
$args['headers'][] = 'Content-type: application/json';
$args['compress'] = true;
}