-
Notifications
You must be signed in to change notification settings - Fork 629
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
Emojis seem to fail to go in a question #791
Comments
Here you can find more info about it: https://www.question2answer.org/qa/62412 |
Thanks Gabriel, very useful. I'll do that ! Should I close the issue or is it something that might get into the product one day (I understand it requires a change in the setup ?) |
Maybe one good solution could be to add some config file option to deal with that ? |
Fixes issue q2a#791
Fixes issue q2a#791
I created a pull request to master - I've built a branch to merge to dev but due to some changes I made before it's not clean to merge. Anyway, the only difference with dev is the way connect works. You just need to change the DSN string, and add a SET NAMES:
And further down:
The SET NAMES should be useless but for some reasons it would fail to connect properly without. |
@bertrandgorge You seem to mean #798. (Better link your PRs with special keywords, so they are auto-closed etc.) |
For reference: https://www.question2answer.org/qa/28769/why-isnt-emoji-supported-in-q2a
|
This is a function to convert all emojis to their HTML entities (with a filter module): https://gist.github.com/BarryMode/432a7a1f9621e824c8a3a23084a50f60#file-htmlemoji-php
|
Test question body :
Bonsoir a tous, nous avons entrepris la récolte de sorgho que nous voulons enrubanner pour faire du fourrage pour des vaches laitière. Seulement voilà, après discussions ont vient de me dire que pour couper du sorgho il faut attendre un certain stade. Apparemment s'il n'est pas au bon stade il y aurait un risque de toxicité pour les vaches laitières ! Problème, j'ai déjà fauché la parcelle 😕😕😕 une partie du champ est un mélange sorgho / trèfle et l'autre uniquement du sorgho 😉 les stades n’étaient pas homogènes sur la parcelle
Merci de vos info 😉
The text was updated successfully, but these errors were encountered: