Thank you Barbarian! I am using UTF-8 and the font_subsetting reduced the size of the my generated PDF files significantly. The only issues I have had are the margins, landscape cutting off the header, and with the batch check print module. The margins and batch check were an easy fix. I haven't tried to tackle landscape yet as I don't use it. IMHO the reduced PDF size makes this very worthwhile.
2 09/24/2019 07:00:37 pm
Topic: unicode special characters replacements (1 replies, posted in Reporting)
The way fa insets/updates data in the database is by replacing certain special characters with their HTML entities equivalents. If I enter subscript 0,1,2, and 3, U+2080, U+2081, U+2082, U+2083, they are recorded as & 8320;, & 8321;, & 8322;, and & 8323;. If enter directly in the database they show as ? on both the screen and in the reports. superscript 0,1,2, and 3, U+00B0, U+00B1, U+00B2, and U+00B3, are recorded as unicode in the database; ³ is recorded as ³, and show correctly on the screen and the reports.
Is there an easy way to add the remaining 4-9 superscripts and 0-9 subscripts to the list so they show properly? Can you explain why the U+00B0, U+00B1, U+00B2, and U+00B3 values are recorded as unicode? I tried !@#$%^&*() with the result of !@#$%^& amp;*() so it appears that & is the only one being replaced by the html equivalent for the more common characters. The database is utf8mb4.