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
Rich Text Editor - Emoji Picker Plugin #3420
Comments
What is an "HTML Emoji" (as opposed to any other kind of emoji)? The version of CKeditor shipped with CC653 is 4.12.1, while the latest version is 4.23-lts (4.22.1 as open source). Maybe an upgrade, using the latest emoji plugin might get these other emojis.
It is interesting to note on that page:
|
e.g. 😀 = |
Yes I tried that but the version was an issue. I think there was a block upgrading from 4.12.1 but I'll look into it. I don't see why emojis can't just be added via character map copy / paste. |
I just tried that |
What encoding is your database set to? |
Well, looking at the database directly, CubeCart_inventory, 'description' column, I have:
Does the character encoding or collation really matter? It is the job of the browser to render the HTML entity code.
|
Well no I didn't think so either. Hmmmm. It doesn't work on my development store. It's got to be an encoding issue somewhere.. |
Just to be clear, where are the question marks appearing initially? After entering the HTML entity code in Source mode, then switching back to WYSIWYG view? Or after saving and viewing the content in the storefront? |
On reload.
…On Fri, 10 Nov 2023, 19:52 Brian Smither, ***@***.***> wrote:
Just to be clear, where are the question marks appearing initially?
After entering the HTML entity code in Source mode, then switching back to
WYSIWYG view?
Or after saving and viewing the content in the storefront?
—
Reply to this email directly, view it on GitHub
<#3420 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABCPWYZUUYBNFYPIAJ5DQCTYD2AWLAVCNFSM6AAAAAA7F4XOLOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBWGM2TCMZQGE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Hmm... using Save & Reload button worked before, but this last time I got question marks. |
And the database now has four question marks. But I cannot tell if they are ctual question marks or the default character to show for high-ascii bytes. Well, PHP received it in POST as hex 9F 98 80 (my editor complained about invalid utf8 sequences). CubeCart's debug shows in POST['description'] the actual smiley image -- browser is rendering hex F0 9F 98 80. CubeCart sent the sequence hex F0 9F 98 80 in the database update query. So, assuming in some cases CKeditor converts the HTML entity code to actual UTF8MB4 code points, I will test with setting the collation for CubeCart_inventory, description column to utf8mb4_general_ci. I will also research to see if there is a bug report about CKeditor converting HTML entities to utf8 sequences when it shouldn't. |
Cannot change 'description' to utf8mb4_general_ci as it is a member of a FULLTEXT index. I wonder if there is a solution to that. |
I'm convinced its an old, unsolved bug in CKeditor:
|
Upgrade with new plugins fixed it. |
This still doesn't work.. |
The issue was the database connection character set. But what happens if the database isn't ready for utf8mb4. |
Relates to #3425 |
What I would like to see is that CKEditor does not convert html entities into the Unicode byte sequence. Haven't found that setting, yet. |
Relates to #3425 |
😜😀😊😃 becomes ????????????????
I've tried utf8mb4_unicode to no avail..
The text was updated successfully, but these errors were encountered: