News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

how to display "₹" (Indian Rupee Symbol) on VM invoice PDFs

Started by rage76, June 21, 2014, 10:55:13 AM

Previous topic - Next topic

rage76

I have added the Indian currency symbol with code '356' in the currency configuration in VM

but I find that in the invoice PDF, it shows a"?". Is there a step by step procedure on how to change this?

I am quite confused. I feel the new INR symbol should be incorporated in the default joomla/VM installation !!

Joomla 2.5.22
VM: 2.6

Milbo

You can see that the currency symbol works on the page. This is not a vm, nor joomla issue. Maybe you should enter an html entity instead of hex encoded stuff. Maybe you just copied the sign from somewhere. So actually your currency symbol is not utf-8 and not an html entity.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

rage76

Thanks for the reply Milbo. Please guide suitably to rectify this issue !! Shall be grateful

regards

StefanSTS

Don't think, Milbo has the time to explain the basics of encoding, check wikipedia: http://en.wikipedia.org/wiki/Indian_rupee_sign. Read about Unicode and use the HTML or UTF-8 character.

Stefan
--
Stefan Schumacher
www.jooglies.com - VirtueMart Invoice Layouts

Please use only stable versions with even numbers for your live shop! Use Alpha versions only if you know what risk you are taking.

rage76

well, sorry for sounding dumb, but I did try to use HTML code "U+20B9" but it shows "¹" any suggestions?


Maxim Pishnyak

You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

rage76

Dear Maxim

As I said earlier, I did try to use HTML code "U+20B9" but it shows "¹"

utf8 code is "e282b9"

Should I use this?

rage76

Please help. I am unable to correct this. Need a proper solution / procedure.

rage76

I have still not been able to find a solution to this. Is there no one who could help me?

StefanSTS

Hi rage,

looks like tcpdf is not getting the rupie sign done. Did you check the font that tcpdf is using?

Maybe have a look at this site and go on from there:
http://www.tcpdf.org/fonts.php

Sorry, no time at the moment to find out more.
Stefan

PS. But on the other hand, you seem to have the same problem as Flipkart and others, so you are not really far behind recent technology. ;-)
--
Stefan Schumacher
www.jooglies.com - VirtueMart Invoice Layouts

Please use only stable versions with even numbers for your live shop! Use Alpha versions only if you know what risk you are taking.

rage76

You now what, after trying to replicate all the solutions given online, all I could reach to was a small box symbol from the earlier "?" which when I cut and paste elsewhere, shows the Indian Rupee symbol "₹". what else remains to be done....I am clueless !! Any suggestions?

godsgracetech

Hello,
I have been watching this post for solution since two months :-), but no response from anyone. Did anyone find the solution the for this issue ? We are able to display the "₹" rupee symbol on the website and emails, but not in the Invoice that we generate from VM administrator. It is showing as "?" when we generate invoice into PDF. I tried many suggestion that i found in this forum, but no solution.

Appreciate if any body can help us to fix this issue as soon as possible.

Thanks

rage76

I gave up on this and used a 3rd party invoicing solution to resolve this issue.

Studio 42

The solution is here http://forum.virtuemart.net/index.php?topic=138649.msg486503#msg486503.
I used this for a website having Arabic and hebrew language
You can use webfonts too and generate the files