(6)mysql中的字元集,mysql中字元集

來源:互聯網
上載者:User

(6)mysql中的字元集,mysql中字元集
概述

  從本質上來講,電腦只識別二進位代碼,因此,不論電腦程式還是其處理的資料,最終都必須轉化為二進位碼,電腦才能識別。人們給每一個文字元號編碼以便電腦識別處理,這就是電腦字元集的由來。

選擇合適的字元集

MySQL5.6支援幾十種字元集,包括UCS-2、UTF-16、UTF-16LE、UTF-32、UTF-8、utf8mb4等Unicode字元集,選擇字元集可以考慮如下幾個因素:

常用字元集比較:

MySQL字元集

MySQL字元集系統變數含義如下:

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.