Arabic text appeared correctly in some case while not in other using itext7
this code reads a PDF template and adds text to it. Arabic text in the first image is copied from the PDF template to the database, while the second is read from already existing data. why this behavior?
database is MySql table charset is umbt8mb4 and the collation is umbt8mb4_09000_ai_ci