Skip to Content

Activate .xsapp: Unsupported encoding Cp1252, only UTF-8 encoding is supported

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

Capture.JPG (134.7 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 16, 2015 at 11:51 AM
    20

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 23, 2015 at 04:06 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 27, 2014 at 06:35 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 06, 2015 at 01:26 PM

    Can someone mark this answer as "correct answer" please? So I can get some points... 😉

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Mar 06, 2015 at 06:50 AM

    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?

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.