People were interviewed by their local priests to see whether they could read and the results were noted down. From this we know that in the middle of the 1700eds the 70-90% of all people could read.
The law was also clear. You couldn't get married unless you could read. To be married you had to be confirmed, and to be confirmed you had to be able to read.