Up until 1911, Chinese males had to wear what as a symbol of submission?

History Trivia: Up until 1911, Chinese males had to wear what as a symbol of submission?