Skip to content
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

Properly handle emoji in database #7

Open
j0k3r opened this issue Feb 19, 2017 · 0 comments
Open

Properly handle emoji in database #7

j0k3r opened this issue Feb 19, 2017 · 0 comments
Labels

Comments

@j0k3r
Copy link
Owner

j0k3r commented Feb 19, 2017

Some release message includes emoji (of course), like the release 0.6.1 of Medis:
image

The Github endpoint for convertir markdown to html convert it to:

<g-emoji alias="smiley" fallback-src="https://assets-cdn.github.com/images/icons/emoji/unicode/1f603.png" ios-version="6.0">😃</g-emoji>

but it is saved like that in MySQL:

<g-emoji alias="smiley" fallback-src="https://assets-cdn.github.com/images/icons/emoji/unicode/1f603.png" ios-version="6.0">?</g-emoji>

Even if the database & table & field are set to utf8bm4 & utf8bm4_unicode_ci 😞

{"collate"="utf8mb4_unicode_ci", "charset"="utf8mb4"}
@j0k3r j0k3r added the bug label Feb 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant