During the Heian period, Japanese women A. were encouraged to learn the Chinese language. B. were forbidden from attending the Heian court. C. produced many important works of literature. D. were set on a pedestal under a code