Describe the bug
When opening a Pull Request with an emoji in its title, you get an Internal Server Error (500).
To Reproduce
Steps to reproduce the behavior:
Create Pull RequestExpected behavior
A pull request should be created.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
The following error is thrown from the server:
2018/12/19 23:22:56 [ERROR] [...g/context/context.go:179 ServerError()] NewPullRequest: newIssue: Error 1366: Incorrect string value: '\xF0\x9F\x8E\x89 A. ..' for column 'name' at row 1
[ ] with [x]):log/gogs.log):
Sorry for the delay.
Yes this error can be reproduced on try.gogs.io. The Example URL for this case would be https://try.gogs.io/blabla123/TestRepo/compare/master...blabla123:testfile
Screenshots


Most helpful comment
Screenshots

