You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have 2 files :
File has one row with : magn�sienne
Second file has one row with magn�sienne
The results for one document is :
magnésienne
For other :
magn?sienne
Implimentation :
$return[] = $this->utf8Encoding($row);
private function utf8Encoding($datas)
{
foreach ($datas as $key => $data) {
$datas[$key] = Encoding::fixUTF8($data);
}
return $datas;
}
Have you an idea ? Thx in advance
The text was updated successfully, but these errors were encountered:
Although those two lines may appear the same in your text editor, the underlying bytes may not be the same. The latter character could be the literal U+FFFD question mark, while the first one could be some other thing that your editor doesn't recognize and thus replaces it visually with the question mark to indicate that fact.
I have 2 files :
File has one row with : magn�sienne
Second file has one row with magn�sienne
The results for one document is :
magnésienne
For other :
magn?sienne
Implimentation :
$return[] = $this->utf8Encoding($row);
private function utf8Encoding($datas)
{
foreach ($datas as $key => $data) {
$datas[$key] = Encoding::fixUTF8($data);
}
return $datas;
}
Have you an idea ? Thx in advance
The text was updated successfully, but these errors were encountered: