500 error when PR comment #3452

Closed
opened 2025-11-02 05:13:20 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @ferrmin on GitHub (Jun 11, 2019).

  • Gitea version (or commit ref):1.8.2
  • Git version:2.17.1
  • Operating system:Ubuntu 18.04.2 LTS
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Log gist:
[...routers/repo/pull.go:962 CompareAndPullRequestPost()] [E] NewPullRequest: newIssue: Error 1366: Incorrect string value: '\xF0\x9F\x98\xAC' for column 'content' at row 1
Originally created by @ferrmin on GitHub (Jun 11, 2019). - Gitea version (or commit ref):1.8.2 - Git version:2.17.1 - Operating system:Ubuntu 18.04.2 LTS - Database (use `[x]`): - [ ] PostgreSQL - [x] MySQL - [ ] MSSQL - [ ] SQLite - Log gist: ``` [...routers/repo/pull.go:962 CompareAndPullRequestPost()] [E] NewPullRequest: newIssue: Error 1366: Incorrect string value: '\xF0\x9F\x98\xAC' for column 'content' at row 1 ```
Author
Owner

@lunny commented on GitHub (Jun 11, 2019):

This has been fixed on v1.9 to set database as CHARSET = utf8mb4.

@lunny commented on GitHub (Jun 11, 2019): This has been fixed on v1.9 to set database as `CHARSET = utf8mb4`.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#3452