[Skip to main content](#vessel-content)

#   Question marks in sent invoice PDF (no UTF-8)?

##

- **[Savickis](/forum/user/26490-savickis "View Savickis's Profile")**
- [![Savickis's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar26490.jpg)](/forum/user/26490-savickis "View Savickis's Profile") Topic Author
- [ Offline](/forum/user/26490-savickis)

Less More

- Posts: 41
- Thank you received: 9
-
-

12 years 9 months ago [\#145613](#145613) by [Savickis](/forum/user/26490-savickis "View Savickis's Profile")  *[Question marks in sent invoice PDF (no UTF-8)?](/forum/27-checkout/866168-question-marks-in-sent-invoice-pdf-no-utf-8#145613 "-- HikaShop version -- : 2.3.0 Business -- Joomla version -- : 2.5.18  Hello!  Just today made upgrade from Hikashop 2.2.2 to 2.3.0. Mostly everythings works fine, except that for some reason PDF Invoices sent to customers through e-mail now are missing special characters (ā, ī, ū, š, etc.) and have question marks &quot;?&quot; in their place. Funny thing is that when I download invoices through Hikashop backend, all characters are ok, so the problem seems to be only with Invoices being sent via email.  Could you please help me out? What's changed in latest update in relation to PDF sending procedure?")* was created by *[Savickis](/forum/user/26490-savickis "View Savickis's Profile")*

-- HikaShop version -- : 2.3.0 Business
-- Joomla version -- : 2.5.18

Hello!

Just today made upgrade from Hikashop 2.2.2 to 2.3.0. Mostly everythings works fine, except that for some reason PDF Invoices sent to customers through e-mail now are missing special characters (ā, ī, ū, š, etc.) and have question marks "?" in their place. Funny thing is that when I download invoices through Hikashop backend, all characters are ok, so the problem seems to be only with Invoices being sent via email.

Could you please help me out? What's changed in latest update in relation to PDF sending procedure?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2NjE2OC1xdWVzdGlvbi1tYXJrcy1pbi1zZW50LWludm9pY2UtcGRmLW5vLXV0Zi04P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 9 months ago [\#145762](#145762) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Question marks in sent invoice PDF (no UTF-8)?](/forum/27-checkout/866168-question-marks-in-sent-invoice-pdf-no-utf-8#145762 "-- HikaShop version -- : 2.3.0 Business -- Joomla version -- : 2.5.18  Hello!  Just today made upgrade from Hikashop 2.2.2 to 2.3.0. Mostly everythings works fine, except that for some reason PDF Invoices sent to customers through e-mail now are missing special characters (ā, ī, ū, š, etc.) and have question marks &quot;?&quot; in their place. Funny thing is that when I download invoices through Hikashop backend, all characters are ok, so the problem seems to be only with Invoices being sent via email.  Could you please help me out? What's changed in latest update in relation to PDF sending procedure?")*

Hi,

Thanks to try to edit the files "plugins\hikashop\attachinvoice\attachinvoice.php" and "plugins\hikashop\attachinvoice\attachinvoice\invoice.php" with notepad++ and change the encodage by clicking on "encodage" and select "UTF-8 (without BOM)".

There was maybe an encodage issue after the last edition of that file.

The following user(s) said Thank You: [Savickis](/forum/user/26490-savickis "View Savickis's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2NjE2OC1xdWVzdGlvbi1tYXJrcy1pbi1zZW50LWludm9pY2UtcGRmLW5vLXV0Zi04P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Savickis](/forum/user/26490-savickis "View Savickis's Profile")**
- [![Savickis's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar26490.jpg)](/forum/user/26490-savickis "View Savickis's Profile") Topic Author
- [ Offline](/forum/user/26490-savickis)

Less More

- Posts: 41
- Thank you received: 9
-
-

9 years 7 months ago -  9 years 7 months ago [\#267739](#267739) by [Savickis](/forum/user/26490-savickis "View Savickis's Profile")  Replied by *[Savickis](/forum/user/26490-savickis "View Savickis's Profile")* on topic *[Question marks in sent invoice PDF (no UTF-8)?](/forum/27-checkout/866168-question-marks-in-sent-invoice-pdf-no-utf-8#267739 "-- HikaShop version -- : 2.3.0 Business -- Joomla version -- : 2.5.18  Hello!  Just today made upgrade from Hikashop 2.2.2 to 2.3.0. Mostly everythings works fine, except that for some reason PDF Invoices sent to customers through e-mail now are missing special characters (ā, ī, ū, š, etc.) and have question marks &quot;?&quot; in their place. Funny thing is that when I download invoices through Hikashop backend, all characters are ok, so the problem seems to be only with Invoices being sent via email.  Could you please help me out? What's changed in latest update in relation to PDF sending procedure?")*

Hello! Some three years have passed, and the problem is back - again all special glyphs are missing from invoice (only product names are displayed correctly with all characters).

This time saving with UTF-8 doesn't help. Any suggestions?

**EDIT:**

I tried out what fellow from Lithuania suggested in [ this topic](https://www.hikashop.com/forum/development/864058-display-utf-8-characters-ir-pdf-invoice.html), and it seems to be true - changing the font from Arial to Freesans indeed seems to fix problem with encoding characters. But I need to support both bold text AND our local characters.

Last edit: 9 years 7 months ago by [Savickis](/forum/user/26490-savickis "View Savickis's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2NjE2OC1xdWVzdGlvbi1tYXJrcy1pbi1zZW50LWludm9pY2UtcGRmLW5vLXV0Zi04P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

9 years 7 months ago [\#267745](#267745) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Question marks in sent invoice PDF (no UTF-8)?](/forum/27-checkout/866168-question-marks-in-sent-invoice-pdf-no-utf-8#267745 "-- HikaShop version -- : 2.3.0 Business -- Joomla version -- : 2.5.18  Hello!  Just today made upgrade from Hikashop 2.2.2 to 2.3.0. Mostly everythings works fine, except that for some reason PDF Invoices sent to customers through e-mail now are missing special characters (ā, ī, ū, š, etc.) and have question marks &quot;?&quot; in their place. Funny thing is that when I download invoices through Hikashop backend, all characters are ok, so the problem seems to be only with Invoices being sent via email.  Could you please help me out? What's changed in latest update in relation to PDF sending procedure?")*

Hi,

The issue is that the other font you're using doesn't support the characters. That's why you have to use another font.
Unfortunately, besides using another font, I don't see any alternative. Now you can add CSS to the PDF invoice to style the font the way you want: [ stackoverflow.com/questions/991160/how-t...-font-bold-using-css](http://stackoverflow.com/questions/991160/how-to-make-my-font-bold-using-css)
You can do that in the file plugins/hikashop/attachinvoice/attachinvoice/invoice.php

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2NjE2OC1xdWVzdGlvbi1tYXJrcy1pbi1zZW50LWludm9pY2UtcGRmLW5vLXV0Zi04P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.052 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
