Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Asked 10 years, 10 months ago. Active 1 year, 1 month ago. Viewed 39k times. I'm having successful html-to-pdf conversions, but not with special characters. If DomPdf isn't a recommended html-to-pdf conversion tool, I'll take any other recommendations!
Improve this question. Is the character you are trying for represented within the font you are using within the PDF? I didn't know that was a factor. How would I find that out?
Add a comment. Active Oldest Votes. Maybe it could be an alternative if you set it with your encoding type. Improve this answer. Mladen Janjetovic Ricardo Martins Ricardo Martins 5, 2 2 gold badges 34 34 silver badges 50 50 bronze badges.
I lost so much time here, don't use stream and output methods on the same pdf instance. Otherwise improved. Last Med Kali carb 1M" so after obstruction nothing gets displayed in dompdf — Jignesh Mistry.
Raimundo Raimundo 3 3 silver badges 7 7 bronze badges. Limitless isa Limitless isa 3, 33 33 silver badges 28 28 bronze badges. My server was missing the mbstring extension. Thanks for the answer — Ejaz. You must use another character set. For example dejavu Sans Mono. Metin Erbek Metin Erbek 74 1 1 silver badge 7 7 bronze badges.
The following should work in dompdf 0. Kohjah Breese Kohjah Breese 3, 5 5 gold badges 29 29 silver badges 43 43 bronze badges. Are you sure it was Win and not Latin1?
Hi, I'm not sure what the original encoding was. I guessed it was Win as I've had a similar issue with that. Translate named entities to their Windows encoding. Translate numeric "entities" as decimal representations of Windows encoding. This yields the UTF-8 encoding of the string. I'll give that a go later today. Add a comment. Active Oldest Votes.
Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast Making Agile work for data science. Stack Gives Back Featured on Meta.
0コメント