Skip to content

Commit

Permalink
remove usage of iconv
Browse files Browse the repository at this point in the history
  • Loading branch information
g-plane committed Jan 30, 2021
1 parent eae6ff8 commit 6f97c1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/SetupController.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function database(
try {
$manager->connection('temp')->getPdo();
} catch (\Exception $e) {
$msg = iconv('gbk', 'utf-8', $e->getMessage());
$msg = $e->getMessage();
$type = Arr::get([
'mysql' => 'MySQL/MariaDB',
'sqlite' => 'SQLite',
Expand Down

0 comments on commit 6f97c1e

Please sign in to comment.