Fixes for special character encoding
This commit is contained in:
parent
57602952e9
commit
9458069abb
2 changed files with 3 additions and 2 deletions
|
|
@ -55,7 +55,7 @@ class QueryLogging
|
|||
// nlog("Query count = {$count}");
|
||||
|
||||
if($count > 175){
|
||||
nlog("Quer count = {$count}");
|
||||
nlog("Query count = {$count}");
|
||||
nlog($queries);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -76,7 +76,8 @@ class CreditCard
|
|||
|
||||
private function decodeUnicodeString($string)
|
||||
{
|
||||
return iconv("UTF-8", "ISO-8859-1//TRANSLIT", $this->decode_encoded_utf8($string));
|
||||
return html_entity_decode($string, ENT_QUOTES, 'UTF-8');
|
||||
// return iconv("UTF-8", "ISO-8859-1//TRANSLIT", $this->decode_encoded_utf8($string));
|
||||
}
|
||||
|
||||
private function decode_encoded_utf8($string){
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue