Skip to content

Commit

Permalink
Update expandFns.php
Browse files Browse the repository at this point in the history
  • Loading branch information
GlazerMann authored Sep 4, 2024
1 parent 75fa93b commit 63f3c99
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions expandFns.php
Original file line number Diff line number Diff line change
Expand Up @@ -1871,6 +1871,8 @@ function convert_to_utf8(string $value): string {
if ((1 + $count_cr1) === $count_cr2 && (4 + $len1 > $len2) && ($bad1 >= $bad2) && ($lq1 <= $lq2) && ($rq1 <= $rq2)) { // Special case for single (c) or (r) and did not grow much
$value = mb_convert_encoding($value, 'utf-8', 'windows-1252');
}
// Special cases
$value = str_replace([" �Livelong� ", "Uni�o", "Independ�ncia", "Folke Ekstr�m"],[' "Livelong" ', "União", "Independência", "Folke Ekström"], $value);
return $value;
}

Expand Down

0 comments on commit 63f3c99

Please sign in to comment.