I am using ArcGIS Java Script API version 2.8 & using query layer in ArcGIS server.
The data is coming from sql server and most of the data is in Arabic language. I am sorting the data and according to the particular map is displaying.
I have created the query task and result will be displaying in combo-box but when I select Arabic record then the map is displaying blank if I select English record then its displaying correctly. For details Please check the screen shot.
The column type is “nvarchar” in sql server and in query task I am using where condition as follows But still getting an error
query.where = "STATE <> N''" (In sql server query works if I use N'')
What I tried:
1.Changed the query parameter. 2.It works perfect for English names. 3.Added UTF 8 encoding. 4.Upgraded API to 3.2 (latest one) 5.In Sql server where query works successfully.
Still getting an error...Any help will be great!!! thanks in advance : )
I confirmed through REST API and through API I was able to query to the data base. Please check the new screen-shots
So as far as the logic the the information is coming but why its not displaying on the map (its interesting) also I have check parameters in the map service & Still researching..