From 6d97994a199e2cf180321c5bc7c3e1282ef477cc Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 23 Mar 2016 20:38:14 +0100 Subject: fixed utf8 output for authtoken diff --git a/rh-bin/authtoken.json b/rh-bin/authtoken.json index 7b2fdba..9e4c332 100755 --- a/rh-bin/authtoken.json +++ b/rh-bin/authtoken.json @@ -59,4 +59,4 @@ $answer{'token'} = $token; print "Content-type: application/json; charset=UTF-8\n"; print "Status: $responsecode\n\n"; -print encode_json \%answer; +print JSON->new->encode(\%answer); -- cgit v0.10.2