Hi!
My environment:
Application type: mobile; Titanium SDK: 3.2.0.GA; Platform & ver.: Android 4.1.2; Device: Android emulator; Host OS: Windows 8; Titanium Studio: build: 3.2.1.201402041146:
I am trying to read a json encoded string from a certain URL. There are certain special characters, that are important and must be shown correctly. These are Š ? and Ž (and lower-case variants). Š and Ž are working as expected, but I just can't get ? to work properly. I've already read every thing I can find here and elsewhere but nothing fixes my problem. The characters are UTF8 encoded in the json string (i.e. \u010d). Even if I try to "manually" add these to the code, they do not appear in my application. By this I mean, that I hard code them like this:
$.someLbl.text = String.fromCharCode(269)+String.fromCharCode(268)+'??'+'\u010D\u010C \u010d\u010c ' + "?? \u010D\u010C \u010d\u010c";
As you can see, I tried basiclly four different variants (even single and double quotes, if that makes a difference) - nothing works. Insted of the character, a white space is show in the place, where the character is supposed to appear.