“Character” in Chinese is 文字 (wénzì).
这是个文字游戏。
This is a pun.
Example sentence from Tatoeba (CC BY 2.0).
Not to be confused with: 蚊子 (wénzi, mosquito)