mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Fixes for special character encoding
This commit is contained in:
parent
57602952e9
commit
9458069abb
@ -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…
Reference in New Issue
Block a user