Live info API japanese characters issue
  • Good day,

    I have issues with the live-info API while playing songs in Japanese . The output of the API is
    {"env":"production","schedulerTime":"2014-10-02 10:19:37","previous":{"name":"mikki - Ultimate\u26068bitCrash","starts":"2014-10-02 14:11:41.991","ends":"2014-10-02 14:15:35.552","type":"track"},"current":{"name":"\u308f\u3093\u3073\u3043 - 8bit\u3061\u3083\u3093\u3053\u3044\u3057","starts":"2014-10-02 14:15:35.552","ends":"2014-10-02 14:20:59.523","media_item_played":true,"record":0,"type":"track"},"next":{"name":"Bizen - 8bit \u604b\u8272\u30de\u30b9\u30bf\u30fc\u30b9\u30d1\u30fc\u30af","starts":"2014-10-02 14:20:59.523","ends":"2014-10-02 14:24:58.099","type":"track"},"currentShow":[{"start_timestamp":"2014-10-02 09:31:00","0":"2014-10-02 13:31:00","end_timestamp":"2014-10-02 12:00:00","1":"2014-10-02 16:00:00","name":"Untitled Show","2":"Untitled Show","id":13,"3":13,"instance_id":13,"4":13,"record":0,"5":0,"url":"","6":"","starts":"2014-10-02 09:31:00","7":"2014-10-02 13:31:00","ends":"2014-10-02 12:00:00","8":"2014-10-02 16:00:00"}],"nextShow":[{"id":14,"instance_id":14,"name":"Untitled Show2","url":"","start_timestamp":"2014-10-02 12:00:00","end_timestamp":"2014-10-02 13:00:00","starts":"2014-10-02 12:00:00","ends":"2014-10-02 13:00:00","record":0,"type":"show"}],"timezone":"EDT","timezoneOffset":"-14400","AIRTIME_API_VERSION":"1.1"}

    instead of japanese characters. Do you know what can cause this ?

    Thanks a lot !

    Post edited by Maxime Roy at 2014-10-02 10:31:24
  • 1 Comment sorted by
  • Vote Up0Vote Down NaomiNaomi
    Posts: 228Member
    What version of php are you using? 

    Can you see what "default_charset" has been set to? (Hopefully UTF-8)
    Post edited by Naomi at 2014-10-09 02:17:41