Jump to content

UTF-8 MySQL and PDF invoice problem SOLVED


pera

Recommended Posts

From one version to another I have had problems with utf8, utf8_general_ci, latin1_swedish_ci, etc. etc.

I converted my database to utf-8.

Maybe this will help someone:

 

1. in control panel / General Settings / Localisation / System Charset

UTF-8

 

2. In the configuration.php

 

$mysql_charset = "utf8";

 

3. This one is tricky. You have to go to phpmyadmin. Then look in every table!

The table can be utf8_general_ci but if you look at table structure and field, there I found some field with latin1_swedish_ci

changing them to utf8_general_ci solved my problem.

 

and for utf8 in pdf invoice you need to download:

http://www.whmcs.com/members/dl.php?type=d&id=37

 

 

more information with pictures:

 

http://winstart.com/template/section-blog/57-whmcs/250-whmsc-utf-8-solution-guide.html

 

hope this help someone!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated