Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7620713
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T04:00:15+00:00 2026-05-31T04:00:15+00:00

I have an encoding problem in Eclipse (Indigo Service Release 1). Here’s what happens:

  • 0

I have an encoding problem in Eclipse (Indigo Service Release 1).
Here’s what happens:

I have a property file (language bundle) in German language and it is not displayed correctly when I open it in Eclipse. For instance: gelöscht is displayed as gel�scht. I have tried changing the File Association to Text Editor, Properties File Editor, JBoss Tools Properties Editor but it is shown like this in all cases.

The interesting part is that when I open the file in Notepad++ it is displayed correctly.
In Eclipse, the text file encoding is set to UTF-8, and the encoding of the file (according to Notepad++) is ANSI.

Is there another setting I do not know about? How can I fix this problem to see the correct encoding in Eclipse?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T04:00:17+00:00Added an answer on May 31, 2026 at 4:00 am

    How are you reading the properties files? Storing them in any non-ASCII encoding other than ISO-8859-1 (the default encoding expected by various bits of infrastructure) or UTF-8 sounds like a bad idea to me. I would strongly recommend that you stick to either ASCII, ISO-8859-1 or UTF-8.

    These days you can load Properties with any Reader, but UTF-8 is usually the most appropriate encoding to use for files which need to cope with non-ASCII characters and work on any machine.

    You can probably force Eclipse to think of it as using a difference encoding, by right-clicking on the file, selecting Properties, and then selecting a “Text file encoding” at the bottom of the Resources page – but I would suggest that you don’t do that.

    An alternative is to only use ASCII with appropriate \u.... escape sequences, as generated by native2ascii.

    (While you can include non-ASCII ISO-8859-1 characters, I personally wouldn’t – it’s obvious when characters aren’t ASCII, but the distinction between ISO-8859-1 and other encodings gets trickier to spot with the naked eye.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a file UTF-8 encoding in windows, and when i use it under
Eclipse STS is reporting I have problem with my spring project. It's a fresh
before I posted my problem here, I have been done some researches but none
I have a problem with character encoding in some HTML pages. It seems that
I have a java file in Eclipse that is in UTF-8 and has some
I have the following Ant build file: <?xml version=1.0 encoding=UTF-8?> <project default=build name=MyAntScript> <!--
I have a convenience class for encoding URI's. In it I've created three methods
I have a simple code byte[] buffer = Encoding.UTF8.GetBytes(abracadabra); MemoryStream ms = new MemoryStream();
I have to connect to a legacy postgres database which has ENCODING = 'SQL_ASCII';
Encoding issues are among the one topic that have bitten me most often during

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.