Describe the bug
Accented characters in the signature stamp/footer are rendered incorrectly in the signed PDF. Instead of displaying proper UTF-8 characters, HTML entities appear literally in the final document.
To reproduce
- Go to LibreSign settings.
- Configure the signature stamp template with accented characters (e.g. “Signé numériquement…”).
- Sign a document (email token or simple click).
- Open the generated signed PDF.
- Observe that HTML entities are rendered literally.
Expected behavior
Accented characters should be rendered correctly in UTF-8 format inside the signed PDF.
Screenshots
Example :
Expected : Signé numériquement par USER
Actual result in signed PDF: Signé numériquement par USER
Environment information
- LibreSign version: 12.2.0
- Nextcloud version: 32.0.6
- PHP version: 8.2
- OS: Debian Bookworm
- Embedded Java installed via occ libresign:install
- Server locale and PHP are correctly configured in UTF-8.
Additional context
The issue seems to originate from the Java/PDF rendering layer.
It may be related to entity escaping in the Twig template or PDF generation pipeline.
No encoding issues are observed in Nextcloud itself.
Describe the bug
Accented characters in the signature stamp/footer are rendered incorrectly in the signed PDF. Instead of displaying proper UTF-8 characters, HTML entities appear literally in the final document.
To reproduce
Expected behavior
Accented characters should be rendered correctly in UTF-8 format inside the signed PDF.
Screenshots
Example :
Expected : Signé numériquement par USER
Actual result in signed PDF: Signé numériquement par USER
Environment information
Additional context
The issue seems to originate from the Java/PDF rendering layer.
It may be related to entity escaping in the Twig template or PDF generation pipeline.
No encoding issues are observed in Nextcloud itself.