function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
NareshNaresh 

Weird characters when deploying to production

We are working on a simple Apex class that does some aggregation based on some picklist values. Functionally and technical all looks and works ok in the Sandbox. We also have created the test method and have appropriate code coverage. But, when we deploy to production, we see weird characters in the code which weren't there in sandbox. Instead of a "-", we are seeing "?". Any ideas why?

Thanks in advance,
NG
paul-lmipaul-lmi
can you give an example of original vs. changed?
EJWEJW
You might want to verify that you have Eclipse set up to use UTF-8 encoding.  Go to Window->Preferences->General->Workspace and change text file encoding to UTF-8.