I'm using Laravel 5.7 and I recently put mp3 files on DigitalOcean Space for flexibility. The Problem is there are some files has french or creole characters on them. However, when I can't find those files neither with AWS s3
driver in config/filesystem.php
, nor with direct access to the browser. It worked great before in Ubuntu FileSystem. When I copied the Song file name from DigitalOcean space I get something like :
song_Zenglen Live Juin 2018 Grev Bèbè_1532382400.mp3
Which looks the same as but is different than
song_Zenglen Live Juin 2018 Grev Bèbè_1532382400.mp3
in the Word BeBe
. The first contains e
+(a character)
that when combined by the Text Editor show as Bèbè
. The second is the character è
on MySQL which show as Bèbè
.
If you copy and paste the 1st and try to delete the è
with one keypress, you will notice that ONLY THE ACCENT IS GONE and the e
remained. But with the second, all of the è
is gone.
And in the browser on the website page, I see the è
as %C3%A8
:
song_Zenglen%20Live%20Juin%202018%20Grev%20B%C3%A8b%C3%A8_1532382400.mp3
What is that HIDDEN CHARACTER that when combining with the letters put ACCENT to them?
I'm using utf8
or utf8mb4
for everything, except DigitalOcean Space that does not provide me a way to specifically connect with utf8
. If someone can give me some advice while I'm investigating on it, it will be helpful.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire