Thanks for the reply, but i think i have solved the issue out here, byt using the following changes in the reading data
This have done the trick, while reading the data there are no extra chars added now, but there is still one more issue here, just wanted to know how
java interrpret the euro symbol, here is the brief, what is done here is that the data is excrypted and this is simply done by adding 9 to each char this is done using a MSSQL database proc, and in java we read the data and convert it back to the original form, by taking each and every char and subtracting 9 from it, now the problem comes to chars which have their acsii value more then 127, i have check the value of 128 is different then what is interpreted by java, actually the 128 char represents euro, but in java it is different, and when we try to decrypt the data it is not decrypted correctly only for chars which are higher then 127......
So any body can suggest as to how can we maintain the same charset with java......
Regards
Harish