Homosexuality was not restricted to eunuchs in ancient China.
http://china.asinah.net/en/wikipedia/h/ ... china.html
"...Homosexuality has been acknowledged in China since ancient times. Two notable royal examples comes from a formulaic expression,"the leftover peach", recorded in Hanfeizi, speaks of Mi Zixia, a beautiful man cherished by Duke Ling of Wei who once shared a bitten delicious peach to the duke, who appreciated the gesture (although once the aging Mi Zixia lost his beauty, the duke looked back onto this event and said Mi was being insincere.) or "breaking the sleeve", refers to Emperor Ai of Han China's act of cutting his sleeve on which his adored male
concubine Dongxian was sleeping on, in order not to wake him.
Scholar Pan Guangdan came to a conclusion that nearly every emperors in the Han Dynasty had one or more male sex partners. There are also some descriptions about lesbians in some history books. It is believed homosexuality was popular in the Song, Ming and Qing dynasties. Chinese
homosexuals did not experience high-profile persecution compared to homosexuals in Europe during the Middle Ages..."