Global Search in Salesforce may not return expected results when the search term includes an apostrophe (') or other special characters such as those copied from Microsoft Word or Outlook.
This issue occurs because some programs encode special characters in a non-standard way. When a record's field value contains this non-standard encoding, the Salesforce search index stores the encoded version — meaning a standard keyboard-typed search term will not match it.
For example, a search for "Anna's" does not return "Anna's Test Account" in the results when the apostrophe in the record was copied from Microsoft Word and contains non-standard encoding.
This article explains how to confirm that non-standard character encoding is causing the search issue, and how to fix it by re-entering the affected field value.
To confirm non-standard encoding is the cause, follow these steps:
If the record now appears — but other results disappear — this confirms the record contains non-standard character encoding.
To allow the record to be found with normal search terms, you must clear and re-enter the affected field value:
After the save, the Salesforce search index updates to use the new, standard encoding. The record will then appear in search results when using the original search term. Note that indexing may take some time to complete.
000385592

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.