I cannot read the raw data format from http://data.ris.ripe.net/. Can you please help me?

The raw data has been compressed and is in MRT, a binary format. You can use the libbgpdump library to read the files.