【发布时间】:2011-10-14 17:55:02
【问题描述】:
我正在为一个网站设置一个新的 MySQL 数据库,我希望内容类型为 UTF-8。
为什么 MySQL 有这么多不同的、看似特定于语言的 UTF-8 排序规则? UTF-8 的意义不在于它会在不切换编码的情况下包含所有这些语言吗?那些“_bin”、“_cs”和“_ci”符号是什么?选择“_bin”会让一些操作区分大小写吗?
我的网站将主要是英文的,但显然我希望能够做一些事情,比如将一个日文字符粘贴到我的文本中而不会发生意外。
【问题讨论】:
-
"You should only ask practical, answerable questions based on actual problems that you face. Chatty, open-ended questions diminish the usefulness of our site and push other questions off the front page. If your motivation for asking the question is “I would like to participate in a discussion about ______”, then you should not be asking here."(常见问题解答)。 “这个问题没有显示任何研究工作”(Downvote button alt text)。如果您可以通过快速浏览该软件的手册来回答您有关特定软件的问题...
标签: mysql unicode utf-8 character-encoding collation