What was the public's literacy rate in leading up to the early 19th century in the empire