Reading another character-set with java

Hi,

I have a file, which has instead of the german umlauts special characters, for example instead of
ü -> } (7d),
ä -> { (7b),
ö -> | (7c),
ß -> ~ (7e),
and so on.

Can anyone tell me, what character-set that is, and how I can read that correct?

Thanks!

spetrowitschAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

orhanbabaCommented:
maybe this characterset         " charset=iso-8859-1 " helps
0
tomboshellCommented:
Sound like they did a mapping on the text values to something like unicode, but those aren't the values that I know.  You may have no choice but to parse the text and convert such matchings.  Especially, if it is a propietary format.  
0
CEHJCommented:
Those are ascii encodings, which you can see as Cp1252 if you're using windows. If you use a Reader instead of an InputStream, it should work out OK
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

spetrowitschAuthor Commented:
No one of the answer´s lead to a solution.
0
CEHJCommented:
>> No one of the answer´s lead to a solution.

I answered both part of your question and here is the proof (iso8859-1) would also work fine:

http://www.microsoft.com/typography/unicode/1252.htm

You can always ask for more information if you need it

Reader in = new InputStreamReader(new FileInputStream("yourfile.txt"), "Cp1252");
0
spetrowitschAuthor Commented:
Now I´m in a different company. I tried that reader, and got still that curious characters. I could Accept your answer, but not with an "A" - would you like that?
0
CEHJCommented:
Well of course i prefer to solve problems completely, but i'm not expecting an 'A' if it didn't ;-)
0
CEHJCommented:
:-)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.