Problems with SQL enconding x PHP [duplicate]

1

I have the following problem: My files are leaving with accentuation problems, my tables use utf-8 as encondig, the html files have the markup for utf-8 and even then the accents do not work:

<html>
<head>
    <base href="https://pankaimoveis.com.br/app/" />
<title>Panka Im�veis | Agilidade e Confiança</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

In PHP files I use also:

<?php
error_reporting(0);
@header( "Cache-Control: max-age=0" );
@header( 'Content-Type: text/html; charset=utf-8' );

and in .htacess it looks like this:

Options +FollowSymLinks
IndexOptions +Charset=UTF-8

<Files ~ "\.html?$">  
     Header set Content-Type "text/html; charset=utf-8"
</Files>

Does anyone know what can be beyond all this?

    
asked by anonymous 05.06.2018 / 14:24

1 answer

-2

Try using your header

  

ini_set ('default_charset', 'UTF-8');

    
05.06.2018 / 14:28