The solution looks like this:
- There is a submit button below the form in PDF file.
- Submit button is sending XFDF form data through POST.
- When I generate (in PHP) XFDF file from POST data polish characters encoded in UTF8 are messed up.
- When you populate XFDF file back into PDF characters are OK.
The question: What Adobe Reader is doing to correctly display this messed up UTF8 characters?
How to do it in PHP on server side to have proper UTF8 data?
Thanks in advance.