6
Good afternoon, you guys!
I installed the OCOMON 2.0-RC6 Help-Desk (Call Opening) system and am having the following problem:
PHP looks for the accented words of the database and displays them normally, this proves that the database accepts accents and 'ç' and PHP displays them. No problem. The point is that I can only insert accented or 'ç' words into the bank by phpmyadmin or mysql (cli). I can’t use the direct OCOMON system. There is some problem sending the data contained in the fields, that is, when PHP sends it to the database. If I type in description: "User contacted informing that his printer stopped printing." no data will be entered in the database in the'Description' field due to the accent of the word 'user'.
I’ve tried everything (change the collation - utf-8, latin1, iso-8859-1)... all right... help Please. Mysql 5.5.28 + PHP 5.4.3
If you use htmlentities or htmlespecialchars in the field before entering the query, you need to set the charset in the function parameters, check the manual http://br1.php.net/manual/en/function.htmlspecialchars.php
– Jader A. Wagner
Did you solve this problem? Did any of the answers solve the problem?
– Sergio
Related: http://answall.com/a/43205/3635
– Guilherme Nascimento
None of these answers are correct?
– Laércio Lopes