Skip to content

Commit

Permalink
Problems if the json-message contains special characters like german …
Browse files Browse the repository at this point in the history
…umlauts (äöü). Commit should fix that problem.
  • Loading branch information
01-Scripts committed Jan 17, 2011
1 parent eca0321 commit 7968aef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/json_api.php
Expand Up @@ -36,7 +36,7 @@
*/
function json_url( $p_url, $p_member = null ) {
$t_data = url_get( $p_url );
$t_json = json_decode( $t_data );
$t_json = json_decode( utf8_encode($t_data) );

if( is_null( $p_member ) ) {
return $t_json;
Expand Down

0 comments on commit 7968aef

Please sign in to comment.