[SalesForce] New Force.com IDE (Eclipse) for Summer 14 : issues with tooling API and accentuation

I updated my Salesforce IDE to the last version (Summer 14 / APIv31) this week and I noticed some issues when saving apex classes that contains characters with accentuation. For example, strings like "não" where saved "n?o", but I only noticed that when I saw the code in browser or updated the class in the IDE via refresh from server.

Doing some research, I discovered a new feature related to the tooling API:
https://developer.salesforce.com/page/Force.com_IDE

Set the Tooling API as the default mechanism used for Apex classes and triggers, and for Visualforce pages and components.

When disabling this feature, the issue with accentuation does not occur but the IDE continuously syncs with the server. When re-enabling the feature, the syncs stop and the issue with accentuation comes back.

Anyone had issues with accented characters with the new SFDC IDE?

Update:

I reproduced the issue using a new installation of eclipse + SFDC IDE plugin. Here are the steps:

1) Download de eclipse IDE Kepler version

2) Install the lasted version of the SFDC IDE (v.31)

3) Create a project pointing to a sandbox server. In my case was at CS16.

4) Create a class Test.class

5) Add a comment:

public with sharing class Test {
 // não
}

6) Save the class. As the IDE is configured to work offline, I need to save the class using the menu Force.com -> Save to Server.

7) I opened the class via browser, and the comments are ok (no issue with accentuation)

8) Change the project to work on-line

9) Modify the class

public with sharing class Test {
 // não aáoó
}

10) Save the class. Now the class is saved automatically to the server.

11) Checking the class again via web, the accentuation is lost.

public with sharing class Test {
 // n?o a?o?
}

Best Answer

You can use another IDE for the Force.com instead of Eclipse . Here you can go for the Sublime Text Editor and Use MavensMate plugin.

Installation Steps --

Step 1 - Download the Sublime Text Editor according to your operating system by clicking below link :

http://www.sublimetext.com/2

Step 2 - Download the Mavensmate Plugin for the sublime editor

http://mavensmate.com/

Step 3 - Installation Guide For the Mavensmate who did'nt ever used this in sublime for Salesforce Project. Sublime Text Package Control must be installed:

https://sublime.wbond.net/installation

1)Open Sublime Text 3 (Sublime Text 2 no longer supported)

2)Run Package Control: Install Package command

3)Search for MavensMate

4)Hit Enter

Step 4 - Configure your Salesforce Project in MavensMate .

Note : After Setup, Follow your given above process, I am sure that this time you will get no problem regarding your issue.

Related Topic