krupong
krupong
Sorry, I haven't tried yet. To solve my problem, I count "%%EOF" compare with get_signature_count(). Something like this. ``` $obj = PDFDoc::from_string(file_get_contents($file)); preg_match_all("/%%EOF/", $content, $matches); $count = sizeof($matches[0]); $sigCount =...
Hello,I've try > Try #79 It's truncate some character such as "ภาษาไทย" will return "ภา".  So I've change from : `return "\xFE\xFF" . mb_convert_encoding($string, 'UTF-16BE', $encoding); ` TO :...
I try to sign with TCPDF, It work with UTF-8 too. When open in VS-Code :  Sign with sapp, seem store as plain text...
I try [#79 ] by encode metadata to UTF-16BE with BOM, everything is OK. Problem is, when I set string contain "\x0E\x28 " (ศ) or "\x0E\x29" (ษ) metadata is broken....
Could you please check #84 Thank you.
Still not working.