Reading an Arabic Punctuation character
807591Mar 21 2007 — edited May 23 2008Hi.
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.