Hi guys,
I'm having a problem with reading strange/foreign characters from a JSON file. The strange/foreign characters are transformed to a question mark...
For example:
vóór (in the JSON file)
becomes
voor.png (in the console.log(value) when reading and storing the data in the store)
I did include the UTF-8 charset in my index.html as follows:
Code:
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
The data is (currently) stored in a local json file as follows:
Code:
[
{
"title": "Test",
"content": "<p>Test me please. Dit zou als vóór moeten verschijnen.</p>"
}
]
And this is the Panel where it should appear:
Code:
Ext.define('Infections.view.illness.Details', {
extend: 'Ext.Panel',
xtype: 'illnessDetails',
config: {
title: 'Content',
iconCls: 'info',
tpl: '{content}'
}
});
Any known fixes for this?
Thanks.