I am currently reading Les Miserables manga version ( Which takes place in France, as I recall). In the picture below, the main character has just got his freedom from Toulon Jail. The officer said that,
You must've learned, reading, writing and arithmetic at the prisoner's school
Why did people get these lessons when they were in jail? Why didn't they get this basic knowledge, like writing and reading, when they are just a innocent person? Is this a result of some of the social hierarchy in France?