View Full Version : A problem with Norwegian characters from json file.
22 Nov 2011, 1:58 AM
I have a problem where I load in data from a json file and some of the character in the file a Norwegian Ś and Ý appear as questionmarks. These characters donít turn up in the table where I use the data. I have a meta tag in the index.html <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">.
Any suggestions to what I can do.
24 Nov 2011, 2:05 AM
I found the solution to this.
24 Nov 2011, 2:41 AM
24 Nov 2011, 4:38 AM
It is almost to embarrassing to tell. The text file with the data (the json file) was not encoded in utf-8. I simply went into Notepad++ and changed the encoding of the file and it worked.
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.