php - Dompdf not rendering INR symbol in PDF
Get the solution ↓↓↓Solution:
Dompdf 0.6.x and above support different encoding.
The easiest way to display the INR is to encode your document in UTF-8. Then you can reference the INR symbol.
Add below statement to your HTML:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
After adding above into your HTML, you can display INR symbol with below code:
<span style="font-family: DejaVu Sans; sans-serif;">₹</span>
Share solution ↓
Additional Information:
Link To Answer People are also looking for solutions of the problem: illuminate\http\exceptions\posttoolargeexception
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Similar questions
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.