Login     Sign up
jatt (@jobalert)
82 months ago
769 Views

admin kindly help Modules emoji add on i need only jcow script Modules
I want to buy

1 people followed this question
1

It is impossible to being able to use EMOJI in post/comment by only module.

The main problem is that Jcow uses utf-8 in MySQL. EMOJI needs 3~4 byte utf-8, but utf-8 in MySQL is not 4 byte. This means that Jcow can not write EMOJI to database. Accidentally you use EMOJI in Jcow, your database will be broken rarely.
The solution to use EMOJI is 1) change charset of MySQL, or 2) change EMOJI to other code before writing to database, and back to EMOJI after reading from database.

Even if you choose 1) or 2), you need to modify many codes in many files.
And you also should consider user's device. Browser in smartphone can show EMOJI, but browser in pc can not. So you need to transfer EMOJI to some images for pc.

foken,

foken @shigeru
82 months ago