on 12-27-2014 7:28 AM
Hi,
I'm new to HANA/XS. I'm trying to create a test Hana application. I have eclipse luna 4.4.1 installed. I have installed Hana plugin from https://tools.hana.ondemand.com/luna (screen shot below):
I have connected to a HANA system, created repository, packages etc. Basically all the necessary things to create a test HANA XS project.
But, when I create .xsapp and .xsaccess I get the following error whenever I try to activate those files:
Unsupported encoding Cp1252, only UTF-8 encoding is supported
Am I missing something? I tried finding similar error in the forum, but I was not successful. Kindly try to help me.
Thanks & Regards,
Lohit
Hi Lohit,
I had the same problem. Change the default encoding in Eclipse to UTF-8 (window -> prefecences -> general -> workspace) and then delete the project from Eclipse. Then check it back out from the HANA repository. This worked for me.
Regards,
Gert
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
On right clicking the error in Problems view, the system gives a Quick fix to it.
As it says Hana Studio(Kepler version) doesnot support cp125 encoding format, rather sets to UTF8 format.
Or it can be manually set to UTF8 in windows -> Preferences.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can someone mark this answer as "correct answer" please? So I can get some points...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This solution works in general, but I would like to understand, why we are facing here issues. The error is thrown by the files ".xsapp" and ".xsaccess" - is it planned that HANA will support the Eclipse Luna standard codepage cp1252 also? Does anybody know?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Some versions of eclipse luna do have this issue. Not sure this is the best way but you can update environment variables may be:
right click My Computer -> Properties -> Advanced system settings -> Environment Variables -> Add new user variable -> JAVA_TOOL_OPTIONS with value as -Dfile.encoding=UTF-8
You need to restart Eclipse to test.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.