krupong

Results 6 comments of 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 "ภา". ![ภาพ](https://github.com/user-attachments/assets/2926ad26-d933-4784-87a7-06c34ad7261d) 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 : ![ภาพถ่ายหน้าจอ 2567-07-31 เวลา 11 24 39](https://github.com/user-attachments/assets/465a6809-b4fb-427b-930d-768b8bf2f894) 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.