How can I display `₹` properly in pdf in Magento.?

How can I display `₹` properly in pdf in Magento.?

September 30, 2026 · Illustrated author avatarBy Stefan Bogdanescu
How can I display `₹` properly in pdf in Magento.?

Properly Displaying Indian Rupee Symbol (₹) in Magento PDFs

Are you facing issues displaying the Indian Rupee symbol (₹) correctly in your Magento PDF invoices? You’re not alone. This common problem can be frustrating, but don’t worry—solving it is straightforward once you understand what’s happening under the hood.

The Underlying Issue: Character Encoding

The root of this problem lies in character encoding. When you save a currency symbol like ₹ in your Magento admin panel, the system stores it as UTF-8 encoded text. However, when it comes to generating PDFs, the default FPDF library (used by Magento) doesn’t support all Unicode characters.

Solution 1: Using UTF-8 Encoding

One simple workaround is to ensure that your currency symbol is saved in the correct UTF-8 format. You can manually enter the Unicode character entity for Indian Rupee as ₹.

Here’s how to do it:

  1. Go to System > Manage Currency > Symbols.
  2. Click on the edit icon next to your desired currency.
  3. In the Currency symbol field, type or paste ₹.
  4. Click Save.

Now, check your invoice PDF again. It should display the Indian Rupee symbol properly.

Solution 2: Updating FPDF Library

A more robust solution is to update your FPDF library to a version that supports UTF-8 encoding fully. This ensures compatibility with all Unicode characters and prevents future issues as your store grows.

To do this:

  1. Visit https://github.com/FPDI/FPDI and download the latest version of FPDF.
  2. Extract the downloaded file and upload it to your Magento root directory, overwriting the existing one.

Solution 3: Using a Plugin or Module

If you’re comfortable with extensions, consider using a module specifically designed for this purpose. Options like “Indian Rupee Symbol for Magento” can automatically handle character encoding issues in PDFs.

Remember, always test changes thoroughly before deploying them to a live environment.

Conclusion

Displaying the Indian Rupee symbol correctly in Magento PDF invoices requires a bit of technical tweaking, but it’s not rocket science. Whether you choose to manually enter characters, update libraries, or use an extension, understanding the character encoding issue is key.

Don’t forget to explore our other resources at Laravel Company for more Magento tips and tricks from experienced developers like yourself.

Admin Orders Pricing Errors

Our network