Where did you read that Yu Ting is female?
It is possible that someone can have XX chromosomes but be male, eg. if they have an SRY gene attached to one of the X chromosomes.
It is the SRY gene, rather than an Y chromosome, that drives masculinisation.
I'm not saying that this is the case with Yu Ting, unless you have read that he has XX chromosomes with an SRY gene, which would still make him male.
If so, he would have 46,XX testicular DSD
Full details here:
https://rarediseases.info.nih.gov/diseases/399/46xx-testicular-disorder-of-sex-development
46,XX DSD - all types
Testicular DSD (46,XX)
"The gonade of a baby in the womb develop as testes, often because of the 'translocation' of the SRY gene from the Y to the X chromosome. This means that, prior to fertilisation, the SRY gene in the one fertilising sperm 'breaks off' the Y chromosome and 'attaches' itself to another chromosome (usually the X). And the presence of the SRY gene then kickstarrs the development of the gonads as testes."
1 / 20,000 men
https://www.dsdfamilies.org/parents/what-dsd/brief-overview/46xx-dsd