themaLeecher
http://leecher.themasoftware.com/forum/

Emojies in text.
http://leecher.themasoftware.com/forum/viewtopic.php?f=4&t=6623
Page 1 of 1

Author:  sdan [ October 25th, 2021, 9:16 am ]
Post subject:  Emojies in text.

Hello,

My custom RSS use the utf8mb4 (utf8mb4_unicode_ci) charset with MySQLi (PHP).

My RSS item title: Love ❤️

In themaLeecher: Love □

Square instead of hearts.

What is the solution?

Thanks.

Author:  Freddy [ October 25th, 2021, 1:53 pm ]
Post subject:  Re: utf8mb4 charset

Hi,

Emojies are really not supported in a lot of sites and should be removed anyway. You can use replacement to remove all emojies automatically.

You can try to add this replacement to remove them all:

Search for:
Code:
[^\x00-\x7f]+


Replace with:
Code:
(leave empty)


Enable regex search.

Enable to apply to all new leeched messages.

Author:  sdan [ October 25th, 2021, 9:36 pm ]
Post subject:  Re: utf8mb4 charset

Freddy wrote:
You can use replacement to remove all emojies automatically.


Dear Freddy,

Unfortunately, this does not solve the problem.

Title example:

𝐌𝐲 𝐅𝐈𝐑𝐒𝐓 car 😍

Replaced:

car

Few letters are also unicodes.

Author:  Freddy [ October 26th, 2021, 3:22 pm ]
Post subject:  Re: Emojies in text.

PM me the URL.

Author:  sdan [ October 30th, 2021, 10:03 pm ]
Post subject:  Re: Emojies in text.

Freddy wrote:
PM me the URL.


Dear Freddy,

The URL is private, sorry. I would be very grateful if these characters were supported in the next themaLeecher update. The WordPress also uses this character encoding and many sites, maybe the half world.

Author:  Freddy [ October 31st, 2021, 5:36 am ]
Post subject:  Re: Emojies in text.

I would need URL to test.

I'm not sharing it with anyone. Only for testing.

PMs are private (don't write it here in the topic, send me a PM).

Author:  sdan [ October 31st, 2021, 10:23 am ]
Post subject:  Re: Emojies in text.

Freddy wrote:
I would need URL to test.

I'm not sharing it with anyone. Only for testing.

PMs are private (don't write it here in the topic, send me a PM).


I sent it (pm). Thanks.

Author:  Freddy [ October 31st, 2021, 9:30 pm ]
Post subject:  Re: Emojies in text.

It is leeches with correct encoding already.

The problem is that message display area don't support displaying them (you can see that subject is showing correctly since that field does support them).

I don't really plan at the moment any improvements since basically no one is using random unicode characters as text. There are literally normal letters for that which 99.9% sites are using (it's much better for SEO as well).

If you see any post using those weird characters - I would recommend just to ignore those posts completely since they are useless.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/