UTF-8 Documentation
This commit is contained in:
parent
fca44ed498
commit
aadde8c97e
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
/.project
|
23
Notes/UTF-8.md
Normal file
23
Notes/UTF-8.md
Normal file
@ -0,0 +1,23 @@
|
||||
|
||||
Gestion de l'UTF-8 entre MySQL et PHP
|
||||
=====================================
|
||||
|
||||
http://www.phptherightway.com/#the_basics
|
||||
https://mathiasbynens.be/notes/mysql-utf8mb4
|
||||
Paramètres PHP - mb_internal_encoding('UTF-8'); - mb_http_output('UTF-8');
|
||||
Utiliser mb_*
|
||||
|
||||
SET NAMES utf8mb4 COLLATE utf8mb4_unicode_ci
|
||||
|
||||
MySQL => Ultime, une fois tout switcher sur les applications, backup and restore
|
||||
|
||||
[client]
|
||||
default-character-set = utf8mb4
|
||||
|
||||
[mysql]
|
||||
default-character-set = utf8mb4
|
||||
|
||||
[mysqld]
|
||||
character-set-client-handshake = FALSE
|
||||
character-set-server = utf8mb4
|
||||
collation-server = utf8mb4_unicode_ci
|
Loading…
Reference in New Issue
Block a user