How to search for Unicode values in SQL from JavaScript? -
in arcgis java script api, querying database. works fine when search numbers , english language text not unicode characters. know in order query unicode characters in sql have add together n prefix name =n' امنیتی' query homecoming result. how can accomplish in javascript arcgis api? below find task code:
//find task search , results function execute(searchtype, searchtext ) { esri.show(loading); findparams.searchtext = searchtext; findtask.execute(findparams, callback); dijit.byid('tabcontainer').selectchild(dijit.byid('datatab')); map.centerandzoom(center, zoom); }
if you're sure there should results, , it's not working, don't believe there's can create it. there no way forcefulness sql engine on side query via unicode.
i recommend heading esri back upwards page , raising ticket them, it's wrong cast or that's been overlooked somewhere.
this assuming have no access server you're querying against - if do, please show code/anything @ that.
javascript sql unicode arcgis-js-api
No comments:
Post a Comment