@Livid 刚刚在回复里输入了 iOS 表情结果报错了 (> <)

2014-02-12 13:49:54 +08:00
 misaka
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/tornado/web.py", line 1141, in _when_complete
callback()
File "/Library/Python/2.7/site-packages/tornado/web.py", line 1162, in _execute_method
self._when_complete(method(*self.path_args, **self.path_kwargs),
File "/www/v2ex/galaxy/handlers/web/topic.py", line 510, in post
self.store.flush()
File "/Library/Python/2.7/site-packages/storm/store.py", line 501, in flush
self._flush_one(obj_info)
File "/Library/Python/2.7/site-packages/storm/store.py", line 538, in _flush_one
result = self._connection.execute(expr)
File "/Library/Python/2.7/site-packages/storm/databases/mysql.py", line 88, in execute
result = Connection.execute(self, statement, params)
File "/Library/Python/2.7/site-packages/storm/database.py", line 241, in execute
raw_cursor = self.raw_execute(statement, params)
File "/Library/Python/2.7/site-packages/storm/database.py", line 374, in raw_execute
self._run_execution(raw_cursor, args, params, statement)
File "/Library/Python/2.7/site-packages/storm/database.py", line 388, in _run_execution
self._check_disconnect(raw_cursor.execute, *args)
File "/Library/Python/2.7/site-packages/storm/database.py", line 454, in _check_disconnect
return function(*args, **kwargs)
File "/Library/Python/2.7/site-packages/MySQLdb/cursors.py", line 205, in execute
self.errorhandler(self, exc, value)
File "/Library/Python/2.7/site-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
raise errorclass, errorvalue
OperationalError: (1366, "Incorrect string value: '\\xF0\\x9F\\x91\\x8D' for column 'content' at row 1")
3517 次点击
所在节点    V2EX
8 条回复
rrfeng
2014-02-12 13:55:06 +08:00
\\xF0\\x9F\\x91\\x8D
是什麽
dndx
2014-02-12 13:56:38 +08:00
看这 path ,难道 V2EX 现在跑在 Mac 服务器上?
Livid
2014-02-12 13:57:30 +08:00
MySQL 字符集的问题。
Livid
2014-02-12 14:12:57 +08:00
找到解决方案了。但是需要找一个人少的时段部署。

谢谢反馈。
misaka
2014-02-12 14:17:09 +08:00
@Livid 辛苦啦 )

@rrfeng iOS 下 “赞” 的表情。
Livid
2014-02-13 03:15:27 +08:00
@misaka 现在回复里已经可以支持 emoji 了

😄
misaka
2014-02-13 18:55:26 +08:00
@Livid 好棒 👍

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/99874

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX