Take a look at Ilham's posting in planet:
with the original post:
Why the encoding is different?
Why Firefox doesn't render well in planet, but does its job well in the original site?
Well, I think because of this one:
After using convmv and Kate (use the 2 tools differently), the file was forced to be considered as UTF-8. Still, the text is not human readable (though little amount of character was rendered nicely).
And then, when I used ViM, the text was rendered the same. So, I came to a conclusion with 2 possibilities:
I think it's #1, coz my system already an UTF-8 and my Firefox's default encoding is UTF-8, dunno was though. But, there is a stong lead to the #2. Need more justification, though.
with the original post:
Why the encoding is different?
Why Firefox doesn't render well in planet, but does its job well in the original site?
Well, I think because of this one:
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">It is one of the html head meta. But, it's not affecting well when I tried to simulate it. Hmm...
After using convmv and Kate (use the 2 tools differently), the file was forced to be considered as UTF-8. Still, the text is not human readable (though little amount of character was rendered nicely).
And then, when I used ViM, the text was rendered the same. So, I came to a conclusion with 2 possibilities:
- I conclude that our RSS machine, which is planet, uses 8-bit ISO 8859-1 encoding (Latin-1) as default encoding. Thus, the XML was parsed into Latin-1, not a 8-bit UTF-8 encoding. The fault is on the RSS Machine.
- Firefox mistakenly read the file as ISO 8859-1 and converted the fonts into wrong 8-bit encoding. This is because the META tag was missing in planet. So, Firefox handle the file with default encoding, which is ISO 8859-1.
I think it's #1, coz my system already an UTF-8 and my Firefox's default encoding is UTF-8, dunno was though. But, there is a stong lead to the #2. Need more justification, though.
gue pake firefox, planet baik2 aja tuh? kanji-nya normal..
ReplyDeletesame here. gw pake firefox 1.0.7 di atas ubuntu 5.10. bahkan, karakternya tampil lebih bagus ketimbang di opera.
ReplyDeletetadi itu maksud gw sama kyk andin.
ReplyDeleteEDIT: OK, sekarang gw jg ud bisa render dengan benar. Setelah diteliti kemungkinan Fx secara default gunain ISO-8895-1 sebagai default. Kemaren gw ganti jadi UTF-8 dan ngebuang cache planet dan jadi.
ReplyDeleteStill, tag META harusnya ada di planet biar browser gag maen tebak2 berhadiah