Skip to content

Commit

Permalink
Fixing 'to string' conversion: printing unescaped unicode characters.
Browse files Browse the repository at this point in the history
  • Loading branch information
jzdunek committed Jun 7, 2017
1 parent 90d5780 commit 926a668
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Datasource/EntityTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -1231,7 +1231,7 @@ public function source($alias = null)
*/
public function __toString()
{
return json_encode($this, JSON_PRETTY_PRINT);
return json_encode($this, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE);
}

/**
Expand Down

0 comments on commit 926a668

Please sign in to comment.