Fix Opt for radiobutton, fix unicode for JS

This commit is contained in:
Svetlana Kulikova
2024-01-26 18:19:32 +03:00
parent 18d274cff2
commit 84b19f48c7
8 changed files with 127 additions and 20 deletions

View File

@ -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;