https://blog.csdn.net/qq_40247982/article/details/106765819
TCollection_ExtendedString tostr;
Standard_CString str= "OpenCasCade 你好啊";
Resource_Unicode::ConvertGBToUnicode(str,tostr);
Handle(AIS_TextLabel) aLabel = new AIS_TextLabel();
aLabel -> SetText(tostr);
aLabel -> SetColor(Quantity_NOC_RED);
aLabel -> SetFont("SimHei")
Handle(AIS_InteractiveContext) myAISContext = GetDocument()->GetIC();
myAISContext->Display(aLabel,Standard_False);