The french have banned all religious iconography from educational institutions. Simple separation of church and state. This is different, and it's kind of obvious.
There isn't, both are plain old systemic oppression (generally mostly misogyny and/or queerphobia) disguised as "concern for the population", there to control and further marginalise.
(though, of course, fans of both China and France and/or haters of women, queers, and/or Muslims, would die on this hill trying to convince themselves otherwise)