-1
My Mysql database is in UTF-8, pages in UTF-8, so far all working. No problem with charset.
The problem is when I research something (company) in the search, for example:
I type "A" and it returns the companies that have this initial letter + the companies that start with "O", because in the bank he transforms the "O" into "A"". In the example cited he pulls the "Optics" that has registered.
I honestly do not know how to solve. I tried to change the parameters in the search, but without success.
Maybe force yourself on something like case-sensitive for accents (if possible).
Would anyone have any idea how to fix this? Preferably without changing the comic.
NOTE: Programming in PHP.
Ricardo, all possibilities tested, but without success. No change.
– Marco Garcia
@Marcogarcia will see other alternatives
– Ricardo
See which collar of your bank
– Ricardo
Use the following command and put the results here: use banco_de_data; show variables like "character_set_database"; show variables like "collation_database";
– Ricardo
character_set_database > utf8
– Marco Garcia
Example of my query: (e.nomefantasia LIKE 'A%') ... and at the end it returns "Ã"TICA CAROL", for example. I’ve tried to insert COLLATION straight into the line, but it came to nothing.
– Marco Garcia
When you do search by mysql console of this problem?
– Ricardo
That’s right. Both the console and PHP have the same problem
– Marco Garcia
The problem then must be in the bank
– Ricardo
Any suggestions?
– Marco Garcia
@Marcogarcia I am thinking
– Ricardo