‎2014 Jun 23 5:36 PM
Hello everyone,
I'm an ABAP developer since 2008 and recently I decided to learn ABAP on eclipse.
I was able to do the installation and to start developing but I've been struggling with the fact that i'm portuguese and I've made my code comments in my native tongue, that have a lot of characters like á, â, ã. For example the word "férias". Now when I open this code in eclipse all of these characters are "destroyed", in the example "f�rias".
So, when I click save it gives me an exception, ExceptionResourceCharacterSetNotAcceptable.
I've tried changing the encoding in some places but with no success.
Is there any other way to solve this problem?
Kind regards,
Fábio Galvão
‎2014 Jun 24 9:33 AM
Hi Fábio,
the exception can happen for multiple reasons. As a first step please check if your JVM is running with UTF-8 as the default charset. The note 1810699 describes how to start Eclipse using this default.
http://service.sap.com/sap/support/notes/1810699
Have a look at step 1.
cheers
Thomas
‎2014 Jun 24 2:56 PM
Hi Thomas,
I've tried this but with no luck, it's still throwing the exception.
One question, shouldn't the encoding be UTF-16BE?
Thanks,
Fábio
‎2014 Jun 25 12:06 PM
Hi Fábio,
the ABAP in Eclipse architecture uses UTF-8 on the client and on the server side.
In order to better understand the problem I would like to have a look at your system. Can you please open an OSS message, thanks.
cheers
Thomas
‎2014 Jul 17 8:16 PM
Hi Thomas,
I only found out now that the my client's ERP is still a non Unicode system.
So i'm guessing that might be the cause of the problem, right?
Thanks,
Fábio
‎2014 Jul 21 11:48 PM
Hi Fabio,
I'm assuming your ABAP system does accept ISO-8859-1 characters - but as soon you download the source into Eclipse, the workspace is using a different character set, reason why it cannot render such character.
Can you try:
- Top Menu, Window, Preferences
- Expand 'General' and select 'Workspace'
- Text File Enconding, select 'Other' and 'ISO-8859-1'
Restart Eclipse and check if the the issue is resolved.
Hope it helps,
Daniel