processing Arabic Text in Java

I have text file which Arabic text in it.
When I read those lines and copy into another file using Java.
The Lines are written in Banckwards. How I handle these.
Who is Participating?
ksivananthConnect With a Mentor Commented:
you need to specify the right encoding which was used to write to the file!
The medium in which you're viewing it needs to know it's Arabic. What is that medium?
Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

s3hAuthor Commented:
Infact its the email body of the msg file. Our Framework returns the body of the email as string object.
Is there any utility in java which can tell us the language of string.
the mail content-type will tell you which encoding the body/subject is in
CEHJConnect With a Mentor Commented:
>>Infact its the email body of the msg file.

Then the mail client needs to support Arabic. Try

Set the charset to UTF-8
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
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.

All Courses

From novice to tech pro — start learning today.