I'm trying to save text file as UTF-8 by using Laravel's Storage facade. Unfortunately couldn't find a way and it saves as us-ascii. How can I save as UTF-8?
Currently I'm using following code to save file;
Storage::disk('public')->put('files/test.txt", $fileData);
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2FfBjfI
via IFTTT
Aucun commentaire:
Enregistrer un commentaire