mantisbt-plugins / source-integration

Source control integration plugin framework for MantisBT, including support for Github, Gitlab, Bitbucket, Gitea, Gitweb, Cgit, Subversion, Mercurial and more
http://noswap.com/projects/source-integration/
MIT License
181 stars 130 forks source link

GitHub Import Failure #319

Closed spmeesseman closed 5 years ago

spmeesseman commented 5 years ago

The first repository I tried importing worked, but the second repository failed with the error:

github-import-error

Looks to have imported some or all of it though: github-import-error-2

dregad commented 5 years ago

I tried googling f09f9a80, and it would appear to be a "rocket" 🚀 emoji. Can you identify the offending commit in your repo ? If it's public, maybe post a link to it.

Unicode support in MySQL is only fully operational with utf8mb4 charset; otherwise, the DB can only handle 3 bytes chars with the utf8 default. Please check your DB for mantis_plugin_Source_changeset_table and confirm charset for message column.

This is possibly hitting a known issue with MantisBT; we currently have a workaround in place, with db_mysql_fix_utf8() function that replaces the offending char with �.

spmeesseman commented 5 years ago

aaahhh, i would never even have thought to google that hex code. i see, yup that is the semantic-release emoji and I used it in my app-publisher app badge too. I will check to see how it handled that when i get a free moment and will post back

dregad commented 5 years ago

Since you have not provided any feedback, I assume that you found a solution or workaround to your issue.