I have to generate invoice using internationalized characters.
Any one have any idea how to do this.
Thanks in advance.
Discussion posts and replies are publicly visible
Do you mind sharing a few more details?
There is a name field in my invoice so in html template i write as name: ###Kajal## so it print its English name but now I have to print name in other languages like Germany, Chinese and Hindi.
HTML supports unicode. That should not be an issue. Did you already do some testing?
Ya do testing but it print #####, instead of giving actual output.
Print where? Screen, PDF, paper, HTML in browser, HTML in text editor? I do not know or see what you are doing and why. To be able to help, you need to explain all of that to me.
Have a look at this: codeblog.jonskeet.uk/.../
Actually I'm generating pdf invoice through smart services "html doc from template" then "html to pdf". So problem is that in html internationalized character set works fine but in pdf it not working.So what i do?
Hi kajalp8940
I think you can directly use "PDF Doc From Template Smart Service" for your requirement. You can replace the HTML text with pv!.
I think this has been discussed here already. But I am not sure about the outcome. Did you try to use HTML entities instead of just the text? So converting your text into a series of entities in the format of "𞉀". code() and foreach() should be able to help here.
I did not try that myself, but would be interested in your results.