1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Fixes for utf8 encoding in filenames for downloads

This commit is contained in:
David Bomba 2023-11-10 08:13:16 +11:00
parent 66e389ba3a
commit dcfb3c940e

View File

@ -255,7 +255,7 @@ class BaseModel extends Model
$formatted_number = preg_replace('/\s+/', '_', $formatted_number);
return $formatted_number;
return \Illuminate\Support\Str::ascii($formatted_number);
}
public function translate_entity()