Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Reading an Arabic Punctuation character

807591Mar 21 2007 — edited May 23 2008
Hi.

I am writing a program that reads a list of words from a text file. The words are either english or Arabis. Moreover, some words are punctuation marks like ? or :. The problem I have is with reading Arabic punctuation marks like the Arabic comma � or the Arabic question mark � it seems that when java reads them but internally "translates" to something else. My goal is to delete these symbols from my files, but I cannot get a hold of them because the .equals and .compareTo methods do not seem to identify them.

Any tips on this issue would be greatly appreciated.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 20 2008
Added on Mar 21 2007
6 comments
516 views