[dancer-users] Returning JSON Data

WK wanradt at gmail.com
Mon Sep 14 10:02:09 BST 2015


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

wbr,
-- 
Kõike hääd,

Gunnar


More information about the dancer-users mailing list