mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-19 23:02:34 +08:00
Fix Opt for radiobutton, fix unicode for JS
This commit is contained in:
@ -101,7 +101,7 @@ void DictToCDictObject(Object* obj, PdfWriter::CObjectBase* pObj, bool bBinary,
|
||||
{
|
||||
TextString* s = new TextString(obj->getString());
|
||||
std::string sValue = NSStringExt::CConverter::GetUtf8FromUTF32(s->getUnicode(), s->getLength());
|
||||
AddToObject(new PdfWriter::CStringObject(sValue.c_str()))
|
||||
AddToObject(new PdfWriter::CStringObject(sValue.c_str(), true))
|
||||
delete s;
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user