-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
昵称应过滤特殊字符 #12
Comments
那些绘文字超出了 Unicode BMP,你需要检查数据库是不是启用了对超出 Unicode BMP 字符的支持。 梁海(LIANG Hai) 在 2012年8月31日,2:09,LIU Dongyuan [email protected] 写道: 试了一下用 Emoji,然后出错了……不过其实注册上了,但之后登录时也会出错。 — |
没什么必要为了这种奇怪的情况修改数据库的字符集,直接不允许使用超出范围的字符比较好。 |
有些生僻汉字也在 BMP 之外。如果性能影响不大,我建议启用对整个 Unicode 字符集的支持。 梁海(LIANG Hai) 在 2012年8月31日,8:38,LIU Dongyuan [email protected] 写道: 没什么必要为了这种奇怪的情况修改数据库的字符集,直接不允许使用超出范围的字符比较好。 — |
我们的 MySQL 版本比较老(5.1),还不能支持 utf8mb4。 柳东原 On 2012年8月31日Friday at 上午10:20, 梁海 wrote:
|
试了一下用 Emoji,然后出错了……不过其实注册上了,但之后登录时也会出错。
The text was updated successfully, but these errors were encountered: