The tweets are in french. Characters like é, É in the hashtag are excluded.
Example there is hashtag #Solidarité where it is printed as #Solidarit (as a link to hashtag) é separately.

Comments

arpitk created an issue. See original summary.

arpitk’s picture

StatusFileSize
new1.12 KB
arpitk’s picture

Issue summary: View changes
emasclans’s picture

It's an old post and for Drupal 8 version, but I've found myself with the same problem but in Drupal 7 and in spanish with the "ñ" character and what has worked for me is to change the regex pattern when parsing hashtags like this:

$twitter_tweets[$key]['tweet'] = preg_replace_callback('/#(\\w+)|@(\\w+)/u', function ($hash) {

Added "u" as the last character of the pattern. The "u" modifier indicates that the string must be read as an unicode string.

In Drupal 7 module, file "socialfeed.block.inc" in function "socialfeed_twitter_posts".

Maybe it can help you.

  • Hemangi Gokhale committed de99033 on 8.x-1.x
    Issue #3157581 by arpitk: Special characters are not included in hashtag...
hemangi.gokhale’s picture

Status: Active » Fixed

This issue is now resolved, please try the latest release.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.