UTF-8 Encoding problem after sharing on facebook

A place to discuss Joomla! translation matters.

Moderator: wendhausen

Locked
khaled97
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Mon Jan 16, 2012 3:18 pm

UTF-8 Encoding problem after sharing on facebook

Post by khaled97 » Thu Jan 26, 2012 2:19 pm

hello ALL !

Hope to find a solution on the first time I ask for help here !
I am running a website using the arabic language pack ..

It seemed to be stable until I shared an article through Social Buttons plugin ,
I got this :

أمريكا: طلب تأشيرة صالح لا يزال بسفارتنا في صنعاء
http://pyramedia.com.eg/site/index.php? ... cle&id=102

Copying and pasting the same url directly (not through the plugin), returned the same problem !

Did anyone went through this before ?

Many thanks in advance,
Khaled

JimmyBelgate
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Wed Jan 09, 2013 6:32 pm
Contact:

Re: UTF-8 Encoding problem after sharing on facebook

Post by JimmyBelgate » Fri Jan 18, 2013 1:13 am

Hi Khalid,

I had the same problem. I just re-installed Joomla again and it worked. It seemed to be a configuration setting that wasn't easily to find with the naked eye.

tandali
I've been banned!
Posts: 15
Joined: Thu Dec 13, 2012 10:27 am

Re: UTF-8 Encoding problem after sharing on facebook

Post by tandali » Mon Jan 28, 2013 10:04 pm

Check your template. The doctype should be the first line in the html. There is a blank line above it.

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ar-dz" lang="ar-dz">

<head>

Pariya
I've been banned!
Posts: 33
Joined: Tue Jan 15, 2013 7:06 am

Re: UTF-8 Encoding problem after sharing on facebook

Post by Pariya » Mon Feb 18, 2013 5:12 am

you must put this code after <head> in template
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />


Locked

Return to “Translations”