Steps:
1. Start OpenOffice Writer and open Form controls through View > Toolbars > Form Controls.
2. Add a text box field and export the file as pdf.
3. Open it through OnlyOffice.
Weird characters are displayed in text box field.
PFA file and screenshot for reference.