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

Android and iOS emoji #1235

Open
montuy337513 opened this issue Jun 17, 2022 · 3 comments
Open

Android and iOS emoji #1235

montuy337513 opened this issue Jun 17, 2022 · 3 comments

Comments

@montuy337513
Copy link
Contributor

I put this request here.
Why are multibyte emojis replaced by ? Concerns different modules (newBB, wgGallery, ..). Tables and data are in mb4
People use their phones more and more often and therefore also use the emojis of their phones. it's a pity that they are not taken into account.
Insert via form -> emoji replaced by a ? in the database.
Inserting the emoji directly into the database -> the display is replaced by ??

@mambax7
Copy link
Collaborator

mambax7 commented Jul 24, 2022

How are these emojis inserted? Using what editor?
Is it part of a DHTML field or regular field?
Can you give an example of text with the emoji and a particular module where we could test it?
Right now I don't know how to test it, with what emojis, which module and which form...

@LaurentMathieu2
Copy link

Hello, in the DHTML, in NewBB, impossible to use android and iphone smiley. Like the following ones 🤔🤔.

@geekwright
Copy link
Contributor

Emoji characters are 4 bytes long in UTF-8. MySQL has to use utf8mb4 as the character set for any columns that will hold emoji. MySQL has defaulted to utf8mb3 until recently, so just using utf8 is not sufficient, The entire chain from your HTML to the database tables and back have to be capable of 4 byte UTF-8. If MySQL is asked to store a 4 byte UTF-8 value in a utf8mb3 column, it will throw an error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants