Skip to content

Commit

Permalink
Fixed encoding errors on import
Browse files Browse the repository at this point in the history
  • Loading branch information
Josef Citrine committed Oct 11, 2017
1 parent 1f46b3a commit 29cd3de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Console/Commands/ImportEQBeats.php
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ public function handle()
->insert([
'track_id' => $result->getResponse()['id'],
'path' => $file->getRelativePath(),
'filename' => $file->getFilename(),
'filename' => iconv("UTF-8", "ISO-8859-1//TRANSLIT", $file->getFilename()),
'extension' => $file->getExtension(),
'imported_at' => Carbon::now(),
'parsed_tags' => json_encode($parsedTags),
Expand Down

0 comments on commit 29cd3de

Please sign in to comment.