Charset problem

Status
Not open for further replies.

jettadelv

New Member
Messages
24
Reaction score
0
Points
0
Hello,

I am currently setting up my website at x10hosting and I am glad to have found a new hosting company!

However, I noticed that some French accented characters (not all) are misinterpreted. My site has a French and an English version, and it is the first time it happened since it is online.
I discovered that the browsers use the central European charset to view the pages, which is wrong... however, I use the following meta tag: <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">.

Is there a way to correct this? Should I add/change a configuration in my cPanel?

Many thanks!
 

lambada

New Member
Messages
2,444
Reaction score
0
Points
0
I'm not that good with charset problems but try using UTF instead

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
 

jettadelv

New Member
Messages
24
Reaction score
0
Points
0
I tried, but it does exactly the same.

One part of the text of my site comes from a .php file because it is dynamically managed. Another part comes from the mysql db. The most surprising of all is that, when I look at the contents of the tables in php-myadmin with the same browser, the accented characters appear normally.
What's more, the MYSQL charset of my database is set to "UTF-8 Unicode (utf8)".

Would you think about something else? Any help would be appreciated! This being an issue, it may eventually prevent me from staying with x10hosting, what I would really like to avoid!

jd :happysad:
 

nol888

New Member
Messages
292
Reaction score
0
Points
0
Could I possibly take a look at the site in question?
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
Can you show me where the characters aren't right so I can test some things and see if they change?

-Corey
 

jettadelv

New Member
Messages
24
Reaction score
0
Points
0
All accented characters are replaced by non-French characters. As far as I now, the "é" and "ç" are the only exceptions.

In the "Accès client" button on the left, the "è" was replaced
Same for "Ajouter ce site à vos favoris" where the "à" was replaced

After clicking on the "Décoration" heading in the center of the page, same problem for a lot of names of items : "Arrosoir grand modèle" etc...

Other examples all around the site.

Many thanks for your help!
 

nol888

New Member
Messages
292
Reaction score
0
Points
0
A few things change when switching the encodings. The button stating "Accčs client" in Central European(ISO-8859-2) changes to "Accès client" when viewed with Western(ISO-8859-1).

Also "Information importante :
...pas ętre désactivée" [in central european] changes to "Information importante :
...pas être désactivée" [in Western]

That's all I noticed.

Edit: Seems I was beat to it.
 
Last edited:

jettadelv

New Member
Messages
24
Reaction score
0
Points
0
Did you mean you changed the encoding of your browser?

Yes, I know that "Central European" is wrong, and that the whole problem disappears when switching to "Western".

My problem is that I do not understand why the browsers I use now "decide" to switch to "Central European" when browsing this site. I did not have this problem before switching to x10hosting.

So, I suppose there might be an option on the server causing this problem.

What do you think?
 

nol888

New Member
Messages
292
Reaction score
0
Points
0
Something is causing the browser to drop or misinterpret the META tag in the page.

However, you can change the character encoding manually in your browser.
 

Kames

New Member
Messages
66
Reaction score
0
Points
0
I also get a problem

« Next Oldest | Next Newest »

Why do I get those weird letter accents on my forum?
 

jettadelv

New Member
Messages
24
Reaction score
0
Points
0
Of course I can change the character encoding manually in my browser. It is not a problem on my side, I know how to do.

The problem is for the visitors of the site. The site is for them, after all, and I do not find it acceptable to oblige my visitors to modify their browser options, just to have a correct view of my site! When furthermore the meta tag is correctly set...

Not to mention that a majority of users will ignore that this type of thing is possible, and will simply wonder why my site is such a mess!

To other hosting members who have a site in French: would you have a clue?

Many thanks
 

HyperCyber

New Member
Messages
29
Reaction score
0
Points
0
:happysad: I got the same encoding problem, è, à,û, ê ... french caracters are not showing correctly.
Can somebody fix that ?

Thanks
 

jettadelv

New Member
Messages
24
Reaction score
0
Points
0
From the last posts, I can see that other users are facing the same problems. It reassures me a little bit, proving that I am not necessarily the guilty one!

Can a solution be considered or is it merely an hopeless situation?

Many thanks in advance for your time.
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
Can you let me know if it works now?
 

jettadelv

New Member
Messages
24
Reaction score
0
Points
0
Yes! Perfect!
Would it be indiscreet to ask you how you resolved this specific problem? ;)

Many thanks
jd
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
I changed the charset in the php.ini file to "iso-8859-1"
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
Global php.ini file for the whole server.
 
Status
Not open for further replies.
Top