dotMobimobiThinkingmobiForgemobiReadyDeviceAtlasgoMobi

Posted by euroscale 3 years 7 weeks ago

pic
 euroscale
mobiForge Newbie
Posts: 6
Joined: 3 years ago
[offline]

Hi there! I'm having a problem overhere... For the first time I'm building a website for mobile devices. My current ready.mobi score is 4.89 out of 5. No problem there. But I'm going for the best ofcourse! The only fail I can't seem to solve is the Character encoding:

PASS near line 5 column 80
Character encoding specified in meta http-equiv detected as UTF-8.
ml;charset=UTF-8" />

FAIL
Character encoding in Content-type HTTP response header is not UTF-8. It was detected as: iso-8859-1

How on earth can I convert it all to UTF-8? I hope anybody here can help me, I can't figure it out...

Euroscale

Posted by ruadhan 3 years ago

pic
 ruadhan
dotMobi logo
Mobile Champion
Posts: 710
Joined: 5 years ago
[offline]

There might be a couple of ways to fix this. Do you have full access to your server? Are you using a server side technology such as PHP or JSP or something similar?

Ruadhan O'Donoghue
dotMobi

Posted by euroscale 1 year ago

pic
 euroscale
mobiForge Newbie
Posts: 6
Joined: 3 years ago
[offline]

No, this is my first test without any scripting... The dotmobi domain will come soon...

Posted by euroscale 3 years ago

pic
 euroscale
mobiForge Newbie
Posts: 6
Joined: 3 years ago
[offline]

Oh! Is it because it's not yet on a dotmobi domain that i'm getting this error? In that case I should wait a couple of days untill my dotmobi domain is ready and upload / test it than...

Posted by ruadhan 3 years ago

pic
 ruadhan
dotMobi logo
Mobile Champion
Posts: 710
Joined: 5 years ago
[offline]

To remedy this you need to configure your server to send the correct character encoding. Did you see this article? Are you using Apache? If so you can set it up correctly adding a line to your .htaccess file:

AddCharset UTF-8 .xhtml

Replace .xhtml with whatever extension is on your html files (e.g. .htm, or .html)

Ruadhan O'Donoghue
dotMobi

Posted by euroscale 3 years ago

pic
 euroscale
mobiForge Newbie
Posts: 6
Joined: 3 years ago
[offline]

Yes, I did read that article, but didn't find the solution to put it into my html code. Or did I not read it right? My English ain't that good you know!

Posted by ruadhan 3 years ago

pic
 ruadhan
dotMobi logo
Mobile Champion
Posts: 710
Joined: 5 years ago
[offline]

No problem! I think you are using an Apache server. To fix this you need to add a file called ".htaccess" to the same folder where your index.html file is. It's possible that this file is already on your server - if it is, then add the line:

AddCharset UTF-8 .html

to the file. Otherwise just create a new file called ".htaccess", add the line above, and save it onto your server in the same place as your index.html file - this should sort out the problem.

Ruadhan O'Donoghue
dotMobi

Posted by euroscale 3 years ago

pic
 euroscale
mobiForge Newbie
Posts: 6
Joined: 3 years ago
[offline]

Great! Now I'm getting a 4.94 out of 5! Just one warning and one comment to go.. I'll figure the rest out myself (I hope). Thank you very much for your help!

Euroscale

Posted by xiaopy12 1 week ago

pic
 xiaopy12
Mobile Champion
Posts: 582
Joined: 1 week ago
[offline]

Christian Louboutin Sale dfhdrtfu

Posted by xiaopy12 1 week ago

pic
 xiaopy12
Mobile Champion
Posts: 582
Joined: 1 week ago
[offline]

Ralph Lauren Outlet dfhrtj