[dancer-users] Returning JSON Data

Kadir Beyazlı kadirbeyazli at gmail.com
Mon Sep 14 13:44:25 BST 2015


Hi WK,

On Mon, Sep 14, 2015 at 12:02 PM, WK <wanradt at gmail.com> wrote:
> 2015-09-14 10:19 GMT+03:00 Kadir Beyazlı <kadirbeyazli at gmail.com>:
>
>> [KB] I did not specify UTF-8, but my display problem for Turkish
>> characters is still going on.
>> I am returning JSON data from file myproject.pm and using JSON data at
>>  file report.js.
>> My files (myproject.pm and report.js) character sets are also UTF-8.
>> At old method, when I set content to UTF-8, it was solved
>
> You could look with `curl`, are the headers wrong or data not properly encoded :
>
> curl -v http://mysite.com/json_route
[KB] I checked, it is UTF-8. But my Turkish characters are still
broken. My country's character set is iso-8859-9 but UTF8 was always
enough to display correct data.
I will search about it.
Thanks
>
> wbr,
> --
> Kõike hääd,
>
> Gunnar
> _______________________________________________
> dancer-users mailing list
> dancer-users at dancer.pm
> http://lists.preshweb.co.uk/mailman/listinfo/dancer-users



-- 
Kadir Beyazlı
Computer Engineer
GSM : +90 535 821 50 00


More information about the dancer-users mailing list