Select to view content in your preferred language

search utf-8 charcters

2470
12
Jump to solution
11-24-2017 03:46 AM
anjelinaponkerat
Frequent Contributor

I,m using search sample code(ArcGIS API for JavaScript Sandbox ) in arcgis javascript 3.22 and have a problem in searching utf-8 characters.  the search tools return null when words are in utf-8 !!  what should I add in my code?

regards

1 Solution

Accepted Solutions
anjelinaponkerat
Frequent Contributor

problem solved. It was related to my geodatabase collation.

View solution in original post

0 Kudos
12 Replies
RobertScheitlin__GISP
MVP Emeritus

Anjelinia,

What does 

the search tools return null when words are in utf-8 !!

what does that mean exactly?

0 Kudos
anjelinaponkerat
Frequent Contributor

search tools can not find any things. I,m sure I have 10 records that have words exactly same as my search word. But serach tools can not find them !!

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Are you searching a FeatureLayer source or just the world geo Oder?

0 Kudos
anjelinaponkerat
Frequent Contributor

I.m searching Feature Layer on my arcgis server 10.2.2

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

And set that as one of the search widgets sources right?

0 Kudos
anjelinaponkerat
Frequent Contributor

Yes

It work with none utf-8 charcters(english words) very good. but it has problem with utf-8 like arabic and .... !!!

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Anjelina,

  Well that is something you would have to report to your local esri tech support then. I would think that other non English users would have reported an issue this this already if there was a major bug like that though.

0 Kudos
anjelinaponkerat
Frequent Contributor

Hi

How we can apply this suggest in arcgis java script?  :

Problem: Attribute queries using Unicode strings do not work against SQL Server 

0 Kudos
anjelinaponkerat
Frequent Contributor

problem solved. It was related to my geodatabase collation.

0 Kudos