Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What GB (Chinese) character sets does MySQL support?

character Chinese GB MySQL support
0
Posted

What GB (Chinese) character sets does MySQL support?

0

MySQL supports the two common variants of the GB (Guojia Biaozhun, or National Standard) character sets which are official in the People’s Republic of China: gb2312 and gbk. Sometimes people try to insert gbk characters into gb2312, and it works most of the time because gbk is a superset of gb2312 — but eventually they try to insert a rarer Chinese character and it doesn’t work. (See Bug#16072 for an example). Here, we try to clarify exactly what characters are legitimate in gb2312 or gbk, with reference to the official documents. Please check these references before reporting gb2312 or gbk bugs.

0

MySQL supports the two common variants of the GB (Guojia Biaozhun, or National Standard) character sets which are official in the People’s Republic of China: gb2312 and gbk. Sometimes people try to insert gbk characters into gb2312, and it works most of the time because gbk is a superset of gb2312 but eventually they try to insert a rarer Chinese character and it doesn’t work. (See Bug#16072 for an example). Here, we try to clarify exactly what characters are legitimate in gb2312 or gbk, with reference to the official documents. Please check these references before reporting gb2312 or gbk bugs.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.