Topic-icon Encoding og:description

Active Subscriptions:

None
6 years 7 months ago - 6 years 7 months ago #62522 by rpiagencia
I am having a issue with sharing a article on Facebook. It seems that the encoding is not correct, even when I have set UTF8 on page. The title are not being viewed correctly on Facebook when sharing a item. See enclosed image.

I am using Joomla 3.7.2 with JFBConnect 7.2.1


Link Site

og.title its work correct.
og.description not work correct is 250 words field introtext article joomla.
Last edit: 6 years 7 months ago by rpiagencia.
The topic has been locked.
Support Specialist
6 years 7 months ago #62523 by mel
Replied by mel on topic Encoding og:description
Could you provide a specific URL where I can see the behavior that's incorrect? I went to your Facebook page to see the post and the og:description tag on the page looks correct to me:
meta property="og:description" content="O Jáqtáqvá/Friolack bateu o Cometa/Rodeio Futsal, neste sábado, pela 2ª rodada da Chave 8 do Estadual de Futsal Série Bronze 2017. Jogando em casa, o alvi-roxo venceu por 6 a 3, com gols de Tininho, Jarré(2x) e o artilheiro Andrei Marcolan(3x). Com o triunfo, a equipe chegou a 6 pontos..."

-Melissa
The topic has been locked.
Active Subscriptions:

None
Active Subscriptions:

None
6 years 7 months ago #62525 by rpiagencia
Replied by rpiagencia on topic Encoding og:description
Hi Mel,
In code
Meta property = "og: description" content = "O J & aacute; qt & aacute; qv & aacute; / Friolack bateu o Cometa / Rodeio Futsal, neste s e aacute; bado, pela 2 & ordf; rodada da Chave 8 do Estadual de Futsal S & eacute; rie Bronze 2017. Jogando Em casa, o alvi-roxo venceu por 6 a 3, com gols de Tininho, Jarr & eacute; (2x) eo artilheiro Andrei Marcolan (3x). Com o triunfo, uma equipe chegou a 6 pontos ... "


Correct would be
Meta property = "og: description" content = "O Jáqtáqvá/Friolack bateu o Cometa/Rodeio Futsal, neste sábado, pela 2ª rodada da Chave 8 do Estadual de Futsal Série Bronze 2017. Jogando em casa, o alvi-roxo venceu por 6 a 3, com gols de Tininho, Jarré(2x) e o artilheiro Andrei Marcolan(3x). Com o triunfo, a equipe chegou a 6 pontos ... "


The accents were not converted.
How to fix?

Thanks
John
The topic has been locked.
Support Specialist
6 years 7 months ago #62526 by alzander
Replied by alzander on topic Encoding og:description
The codes on the page are taken directly from the article text. If you view the source HTML on your page, you'll see the following:
<p style="text-align: justify;"><span style="background-image: initial; background-position: initial; background-repeat: initial; background-attachment: initial; font-family: arial, helvetica, sans-serif; font-size: 12pt;">O J&aacute;qt&aacute;qv&aacute;/Friolack bateu o Cometa/Rodeio Futsal, neste s&aacute;bado, pela 2&ordf; rodada da Chave 8 do Estadual de Futsal S&eacute;rie Bronze 2017. Jogando em casa, o alvi-roxo venceu por 6 a 3, com gols de Tininho, Jarr&eacute;(2x) e o artilheiro Andrei Marcolan(3x). Com o triunfo, a equipe chegou a 6 pontos se isolando na ponta da tabela seguido por a AMF de Marau que tamb&eacute;m venceu seu jogo em casa e garantiu seus primeiros 3 pontos na tabela.</span></p>
We use that text in the Open Graph description.

You may want to check that your database is properly storing the text in UTF-8 encoding because, from the above, it doesn't look like it. Browsers, and even Facebook, can decipher those escape code sequences to the proper character. I think the issue here is that Facebook simply hadn't scanned and processed your page yet, so the output was the raw text. If you use Facebook URL debug tool, you'll see the description looks correct now:
developers.facebook.com/tools/debug/shar...e-expuls%25C3%25B5es

You'll want to figure out why the right characters aren't in the actual article first. Otherwise, you may need to use the Debug Tool to have Facebook scan your page first before you share it out.

I hope that helps explain,
Alex
The topic has been locked.