I am parsing HTML page using some html parsing utility. i am using cobra.jar and js.jar for that.
There are some unreadable special charactor like ' � ' but when I compiled my program in windows it compile properly and run fine.
But when i compiled it in linux it gives me followig Warning:
unmappable character for encoding UTF8
String stateZipArray[] = stateZip.trim().split(" � ");
and then while accessing elements from stateZipArray array it gives ArrayIndexBounds exception.
In InputStreamReader class i am using 'ISO-8859-1' as a charsetname.
Can any one please tell me what is problem and how can i resolve it?
Thanks in advance.