Is it possible to make the encoding of a Mysql database equal to the encoding of a PHP/HTML5 page?

Asked

Viewed 22 times

0

For example, in my table in Mysql the word appears Creditworthiness and in the bank "Crã dito", Valid until on the site appears as "V read until " in the bank.

I am using in HTML5 the UTF-8, in the editor is the Encoding as Encoding in UTF-8-BOM.

In the bank the collation is latin1_swedish_ci.

Is there any way to make it look exactly like coding both in the bank and on the site?

No use changing the collation to utf8_bin.

  • Yes it is possible, see my answer: http://answall.com/a/43205/3635

  • 1

    Thank you, my dear.

  • 1

    I would like to thank you for the comment and the suggested response. I was able to solve the problem by converting everything to utf-8 and started using mysqli to make the connections. Thank you very much.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.