VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: chaska on November 10, 2016, 03:06:07 AM

Title: Garbled invoice in Chinese version [Checked FAQ already]
Post by: chaska on November 10, 2016, 03:06:07 AM
Hi everyone,

I'm working on my website with Virtuemart in Chinese version and everything is fine but the invoice. It just display ????? for Chinese characters. I couldn't solve it even read the solution in FAQ section below:

http://forum.virtuemart.net/index.php?topic=99783.0 (http://forum.virtuemart.net/index.php?topic=99783.0)

Here is some information and screen captures of my issue:

PHP: Built On   Linux s221.sureserver.com 4.4.30-grsec #1 SMP Wed Nov 2 09:31:27 EDT 2016 x86_64
Database Version:   5.7.15-percona-sure1-log
Database Collation:   utf8_general_ci
PHP Version:   5.6.21
Web Server:   Apache
WebServer to PHP Interface:   cgi-fcgi
Joomla! Version:   Joomla! 3.4.8 Stable [ Ember ] 24-December-2015 19:30 GMT
Joomla! Platform Version:   Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
User Agent:   Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36

VirtueMart Version: 3.0.10

(https://s22.postimg.org/869h4fofx/image.png) (https://postimg.org/image/869h4fofx/)
(https://s22.postimg.org/3lnapi4ql/image.png) (https://postimg.org/image/3lnapi4ql/)
(https://s22.postimg.org/7jakewrjx/image.png) (https://postimg.org/image/7jakewrjx/)
(https://s22.postimg.org/nit7ygnlp/image.png) (https://postimg.org/image/nit7ygnlp/)


I can provide any more information if needed.

Thank you everyone!


Title: Re: Garbled invoice in Chinese version [Checked FAQ already]
Post by: Jörgen on November 10, 2016, 06:57:55 AM
Hello

For security reasons update Joomla to 3.6.4. Update VM to 3.0.18. Yoyu may also look at subversion 3.0.18.2.

regards

Jörgen @ Kreativ Fotografi
Title: Re: Garbled invoice in Chinese version [Checked FAQ already]
Post by: Milbo on November 10, 2016, 10:03:56 AM
I think the used font in the pdf does not support the characters. So you must first add a suitable font to the tcpdf/fonts folder.