Revize b180424c
Přidáno uživatelem Ondřej Fibich před asi 9 roky(ů)
application/libraries/importers/Txt_Tatra_Banka_Statement_File_Importer.php | ||
---|---|---|
{
|
||
foreach ($struct->parameters as $p)
|
||
{
|
||
if ($p->attribute == "charset")
|
||
if ($p->attribute == "charset" &&
|
||
\strtolower($p->value) != "utf-8")
|
||
{
|
||
$body = iconv($p->value, "UTF-8", $body);
|
||
$body = iconv($p->value, "UTF-8//TRANSLIT", $body);
|
||
break;
|
||
}
|
||
}
|
Také k dispozici: Unified diff
TB importer: Disable converting utf-8 string to utf-8 strings. Handles invalid encoded characters.