My SQL does not find accented words

Asked

Viewed 92 times

0

My SQL works perfectly when the word to be searched is not sharp, however, when the word is stressed, there is no result in the search.

My database is mysql and in the php admin I made the consultation, and finds perfectly accented words also.

Follows my SQL

select id, linkbanner, video, detalhes, mapa, categoria, id_categoria, pagina_descricao, titulo, email, detalhe_contato, endereco, endereco2, site, face, inst, blog, plus, twitter, skype, banner, pop, exibir_pop from anuncios where titulo LIKE '%$strbuscar%'
  • Which bank encoding? Are you sure it supports accents?

  • @leofontes utf8_general_ci

  • @leofonts I have several tables in my mysql and the display of the information occurs perfectly. I’m just having trouble finding sharp words.

1 answer

0

  • You didn’t. Unfortunately.

Browser other questions tagged

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