Jump to content

Character Encoding mismatch during installation


Recommended Posts

Good morning at all you, guys,

i'm experiencing some charset problems during the prestashop installation process.

 

I'm trying to install PrestaShop but the install screen shows some accented characters as the classic "strange characters": it's a problem of charset. Yes, but how can i solve it?

The first thing is to know which charset is using instead of the expected UTF-8.

 

Firstly i thought it was an upload problem, so i switch to binary upload mode. But going to see the sources of installation lang files, i've seen that all strings are correct: no wrong characters, all good.

So the problem is in the interpretation by PHP (or something else involved in the building and showing of the page).

 

So i tried to validate the installation page with the W3 validator and this is what it tells me:

 

Character Encoding mismatch!

The character encoding specified in the HTTP header (iso-8859-1) is different from the value in the <meta> element (utf-8). I will use the value from the HTTP header (utf-8) for this validation.

 

Ok, the problem is the mismatching between the header charset and the meta defined charset: the string are right in the source code, but there is something wrong in the translation process or something similar.

 

My answer is: how can i fix this issue so charset sent by header is equal to the meta defined charset?

Why is this issue only on my remote hosting and not on my local server?

 

Is there anyone who can help me, please? I really don't know where to look to solve this problem...

 

Thanks at all,

 

Adamo "Aerendir" Crespi

post-165975-0-74711200-1373287203_thumb.png

Link to comment
Share on other sites

×
×
  • Create New...