Strange symbols when sharing activity to Facebook

  • 7
  • Problem
  • Updated 7 years ago
  • Solved
Archived and Closed

This conversation is no longer open for comments or replies and is no longer visible to community members. The community moderator provided the following reason for archiving: Old thread

Sharing IMDB activity to Facebook replaces all apostrophes in movie titles and text to entity code ' This makes the posts look ugly and difficult to read:

Photo of TomasD

TomasD

  • 2 Posts
  • 0 Reply Likes

Posted 7 years ago

  • 7
Photo of Emperor

Emperor, Champion

  • 6418 Posts
  • 3021 Reply Likes
It looks like an encoding issue.

Is this widespread?
Photo of TomasD

TomasD

  • 2 Posts
  • 0 Reply Likes
This is affecting multiple users; hence, I don't think it's an encoding issue.

My guess is that the issue is caused by one of these:
- IMDB encodes HTML entities two times. This means that the final result posted to Facebook is '
- IMDB encodes HTML entities correctly, replacing a single quote with ', but Facebook does not decode it back.
Photo of Emperor

Emperor, Champion

  • 6418 Posts
  • 3021 Reply Likes
So it is an encoding issue.
Photo of Dan Dassow

Dan Dassow, Champion

  • 16662 Posts
  • 18789 Reply Likes
Thanks for reporting this.

& #x27;
is the ASCII HTML Hex Code for single quote. The same problem is also happening for twitter.

This conversation is no longer open for comments or replies.