Maison >base de données >tutoriel mysql >MySQL获取中文unicode 编码_MySQL
bitsCN.com
SELECT ORD(CONVERT('中' USING ucs2)) AS chinese;
===============
20013
SELECT HEX(CONVERT('中' USING ucs2)) AS chinese;
===============
4E2D
摘自 ylqmf的专栏
bitsCN.com