I tried Kimi K3, Qwen3.6 35B A3B, GLM 5.2 and Qwen3.7 Plus, chosen arbitrarily from Chinese models I could access quickly. I used your prompt exactly, and all 4 managed to produce correct functions all with the correct name.
Interestingly, Kimi K3 wrote one in both C and Python, Qwen 3.6 chose Python, GLM 5.2 also chose Python, and Qwen3.7 decided to be an over-achiever and wrote functions in Python, C++, Java, and TypeScript. All correct and with the correct names.
My local Qwen3.6-35b-a3b model would not use the function name. It did the work though, while telling me the the slogan is against the One China principle. So for Qwen it seems to be baked into the model.
DeepSeek series are open weights models. Assuming you have enough compute at hands you can always download their weights from https://huggingface.co/deepseek-ai
You can find on Huggingface a huge number of Chinese open weights LLMs from which the censorship has been removed.
They typically contain in their names words like -abliterated or -uncensored.
For some of the recent bigger Chinese LLMs, it took a longer time until someone succeeded to remove the censorship, but eventually uncensored variants were published.
E.g. for Kimi 2.6 an uncensored variant appeared only a couple weeks ago.
It was a rhetorical question. OP is making it sound like the open weight models are fundamentally broken by being censored out of the box. This is a completely asinine take.
I tried Kimi K3, Qwen3.6 35B A3B, GLM 5.2 and Qwen3.7 Plus, chosen arbitrarily from Chinese models I could access quickly. I used your prompt exactly, and all 4 managed to produce correct functions all with the correct name. Interestingly, Kimi K3 wrote one in both C and Python, Qwen 3.6 chose Python, GLM 5.2 also chose Python, and Qwen3.7 decided to be an over-achiever and wrote functions in Python, C++, Java, and TypeScript. All correct and with the correct names.