Commit cffbeb538a8af710def498c743a2c56a0a347aef
1 parent
c79547d0
Exists in
master
and in
7 other branches
Correção na conversão de caracteres
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
ferramentas/saiku/esquemaxml.php
... | ... | @@ -149,7 +149,7 @@ function caminhoRegiao($hs,$chavesRegiao,$h,$regiaoInicial,$caminho) |
149 | 149 | return $caminho; |
150 | 150 | } |
151 | 151 | function converte($texto){ |
152 | - $texto = str_replace("&","&",htmlentities($texto)); | |
152 | + $texto = str_replace("&","&",htmlentities($texto,ENT_NOQUOTES,mb_detect_encoding($texto))); | |
153 | 153 | return $texto; |
154 | 154 | } |
155 | 155 | function imprimeEsquema(){ | ... | ... |