How could nvdsosd plugin to draw chinese, is there any example?

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)
V100
• DeepStream Version
5.1
• JetPack Version (valid for Jetson only)
• TensorRT Version
7.2.3
• NVIDIA GPU Driver Version (valid for GPU only)
460
• Issue Type( questions, new requirements, bugs)
questions
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

Hey, have you tried to add Chinese in the NvOSD_TextParams following deepstream-test2?

I finally worked it out.
First install chinese environment
reference link Ubuntu命令方式安装中文语言包 - Aircoinst - 博客园
Second download or copy a .ttf font file into /usr/share/fonts/ folder.
Finally change the cpp file format to utf-8.