Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
February 09, 2012, 07:48:11 PM

Pages: [1]   Go Down
  Print  
Author Topic: Problem with server character encoding and WordPress  (Read 1498 times)
Superkick
Newbie
*
Offline Offline

Posts: 5


« on: December 17, 2008, 07:29:48 AM »

Hi, i have a problem with my wordpress character encoding (utf8) and google, i have seen that (for example) instead of "Let it Snow non è molto pesante." google displays "Let it Snow non è molto pesante.". I have asked on the italian wordpress forum, and they have said me that is a character encoding problem, but hasn't resolved my problem. Anyone have my same problem? The "incrimined" search is this, http://www.google.com/search?client=safari&rls=it-it&q=wordpress+snow+plugin&ie=UTF-8&oe=UTF-8, my website geekmaniacs.com is at 8 place.

Thank you for your support.
Logged
MrPhil
Berserker Poster
*****
Offline Offline

Posts: 5083



« Reply #1 on: December 17, 2008, 10:46:00 AM »

Browsers (and Google) may not be recognizing your UTF-8 setting. I see the following lines of code:

Code:
<link rel=�shortcut icon� href=�favicon.ico� />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

near the top of the page. Did you manually add the shortcut icon line? Did you use a Microsoft editor (such as Word)? Don't do that -- they change your quote characters (' and ") to "smart quotes", which are non-standard coding. Edit (with a real editor) whatever file you changed to add the shortcut icon link, and change them to real quotes. Let's see if that lets browsers and search spiders correctly read the next line (which sets your character set).
Logged

Superkick
Newbie
*
Offline Offline

Posts: 5


« Reply #2 on: December 17, 2008, 11:34:39 AM »

Thank you very much! I have used Notepad2, is very strange... now i have changed the " " in favicon.ico settings. My code now is:

Code:
<link rel="shortcut icon" href="favicon.ico" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

Now I have only to wait that Google's bot re-visit my home page, right?

Thanks again! Smiling
Logged
Pages: [1]   Go Up
  Print  
 
Jump to: