mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-03 08:24:34 -04: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}");
|
// nlog("Query count = {$count}");
|
||||||
|
|
||||||
if($count > 175){
|
if($count > 175){
|
||||||
nlog("Quer count = {$count}");
|
nlog("Query count = {$count}");
|
||||||
nlog($queries);
|
nlog($queries);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -76,7 +76,8 @@ class CreditCard
|
|||||||
|
|
||||||
private function decodeUnicodeString($string)
|
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){
|
private function decode_encoded_utf8($string){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user