-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Error when using emojis on wiki pages #2020
Comments
@jywarren take a look at https://stackoverflow.com/a/22464749/5156578. This should solve our problem. |
Does this problem also occur in development mode? |
I'm not sure, but i bet we could add a functional test for the wiki controller to see if we can reproduce this. It'll work in Travis since that uses mysql! |
I also wonder if this prior suggestion of a different encoding might help? #2209 |
Yes i also remember i commented on the issue to change the encoding but not able to find that issue. |
got the issue...here it is #2665 |
Solved in unicode db! |
Please describe the problem (or idea)
I tried to save a wiki page edit using an emoji -- 🎉
But i got an error! The logs show:
"Mysql2::Error: Incorrect string value:
\xF0\x9F\x8E\x89 \x0D... for column 'body' at row 1
on this line:plots2/app/controllers/wiki_controller.rb
Line 170 in 3df8567
Any help appreciated! Emoji are important for showing appreciation to contributors 🥇 🎈 🎉
The text was updated successfully, but these errors were encountered: