Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit221db50

Browse files
authored
Use utf8mb4 instead of utf8 in commented-out starter code
'utf8' in mySQL is actually a 3-byte encoding that cannot encode characters that occupy 4 bytes in UTF-8. 'utf8mb4' is a saner default.
1 parent46e75ab commit221db50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎api.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2719,7 +2719,7 @@ public function executeCommand() {
27192719
// 'username'=>'',
27202720
// 'password'=>'',
27212721
// 'database'=>'',
2722-
// 'charset'=>'utf8'
2722+
// 'charset'=>'utf8mb4'
27232723
// ));
27242724
// $api->executeCommand();
27252725

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp