China doesn't do it, BBC did, China does have many boarding schools, BBC can call all of them dentention centers.
See a father braves heavy blizzard trying to send his kid to "detention centers"
A massive blizzard blocked a Pamir mountain village in Khunjerab, the snow reached 3 meters deep and the region was completely cut off, Khunjerab police officers immediately reported the disaster to the higher government and moblized bolldozers, trucks and police cars and worked the whole night and day at 5300 meters above sea level to clear the road to get 136 kids from the village to school.
This is a village school in the middle of the world 2nd biggest desert, Taklamakan desert, the poorest region in Xinjiang, but they still live better than you Indian kids even in the cities.