in reply to how to read data for every 280 character ?

You have opened your file in binary mode, yes? See binmode.
  • Comment on Re: how to read data for every 280 character ?