Depending on the type of code used for your webpage, you should define the code for outgoing data from MySQL database.
If the same code is used for outgoing data as for your website, no anomalies will appear in characters with accents and other special symbols.
This is the usual way to connect to the MySQL database from your PHP script:
Immediately after connecting, the code that you want to receive and enter data into the database needs to be set. The code in which the database itself runs is not important. (typically UTF-8).
Here are three mostly used character encoding systems in central Europe:
For each of these encoding systems, we offer you start commands that have to be entered right after commands to connect to the database.UTF-8
mysql_query('SET NAMES UTF8');
mysql_query('SET NAMES LATIN2');
mysql_query('SET NAMES CP1250');</
In case you need any help, contact us by e-mail or by phone.
Give a chance to our online help-center. You can find there more than:
Questions about our products or any specific request? Contact us.
If necessary, we will contact you.
Please contact us at firstname.lastname@example.org.