From aadde8c97e2bf983c43944198a6dcd800e7808c0 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Tue, 17 May 2016 14:43:33 +0200 Subject: [PATCH] UTF-8 Documentation --- .gitignore | 1 + Notes/UTF-8.md | 23 +++++++++++++++++++++++ README.md | 16 ++++++++++++++++ 3 files changed, 40 insertions(+) create mode 100644 .gitignore create mode 100644 Notes/UTF-8.md diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d8fe4fa --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/.project diff --git a/Notes/UTF-8.md b/Notes/UTF-8.md new file mode 100644 index 0000000..3d2ad95 --- /dev/null +++ b/Notes/UTF-8.md @@ -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 diff --git a/README.md b/README.md index e69de29..8c73a27 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,16 @@ +Database +======== + +Metier + schema + account + scripts + +Apps + Enrichissement + Extranet + Backoffice + Odea + Flux + +Notes