sonali raina wrote:I tried to read and write a character with unicode valueFfE6 i.e. 16 bit,read() of both the classes was able to read the 16 bit char successfully.
Sorry but that can't be the whole story since, except for the EOF value, the range of values you can obtain from FileInputStream.read() is 0 to 0xFF inclusive ! Please show the code you used to get the value 0xF1E6 from FileInputStream.read() .