Results 1 to 2 of 2

Thread: Reading Hebrew data from JSON through data store is gibberish

  1. #1
    Sencha User
    Join Date
    Jun 2015

    Default Reading Hebrew data from JSON through data store is gibberish


    I'm trying to load data from a JSON file, the data is in Hebrew.
    When I load it through the store and load the store records it shows as question marks.
    Tried several solution such as adding:

    headers: {'Content-Type': 'application/json; charset=UTF-8'},
    to the store config and saving the file itself as UTF-8 encoded file but none of them worked.
    Also in the index.html I added:

    <?php header('Content-Type: text/html; charset=utf-8'); ?>
       <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    Which helped with some interface problems but I suspect that this problem is related to a JS encoding but I'm not really sure.

    Here is an image of the data displayed:
    Developer Tools - httplocalhost63342DiscountAppindex.html.jpg

  2. #2
    Sencha User joel.watson's Avatar
    Join Date
    Nov 2014



    Can you share an example of the data in your JSON file and the store configuration that you're using?

    I'll be happy to test this along with you.


Similar Threads

  1. reading nested data from json store.
    By deepak_patil1222 in forum Sencha Touch 2.x: Q&A
    Replies: 2
    Last Post: 27 Aug 2012, 11:27 PM
  2. Reading nested data from JSON into a store
    By direct2kali in forum Ext: Q&A
    Replies: 1
    Last Post: 23 Aug 2012, 6:15 PM
  3. Problem reading json data from a store
    By ivansaracino in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 30 Apr 2010, 1:31 AM
  4. Grid+Store reading JSON complex Data
    By WLiCPSC in forum Ext 2.x: Help & Discussion
    Replies: 5
    Last Post: 10 Mar 2009, 11:16 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts