The InsertWatermark method has issues when adding Chinese watermarks

Do you want to: Report a bug
Document Server version:7.5
Type of installation of the Document Server (docker, deb/rpm, exe)
OS:linux
Browser version:edge

When I use it, problems may arise, especially when the watermark involves Chinese characters. Additionally, issues may occur when combining Chinese and English characters in the watermark. I demonstrated this in the “onlyoffice document builder try now” environment, where the Chinese watermark is also missing

ONLYOFFICE API文档-立即试用 — ONLYOFFICE Api Documentation - Try now
builder.CreateFile(“docx”);
var oDocument = Api.GetDocument();
var oParagraph = oDocument.GetElement(0);
oParagraph.AddText(“A watermark was inserted into this document.”);
oDocument.InsertWatermark(“水印测试”, true);
builder.SaveFile(“docx”, “InsertWatermark.docx”);
builder.CloseFile();

I have no idea now,I installed document builder in my centos7 system. It works fine with English watermarks, but when I add some Chinese characters, the watermarks become problematic.
Can someone help me with the problem?
Thank you

Hi @Shawn,

Thank you for reporting the issue. I’ll get back to you after we analyze it.