June 10, 2009

Fixing Safari 4 Encoding Issue

I've been using Firefox on my MAC since Safari 4 Beta came out. Why?
Because it had an encoding issue that pissed me off ( really ).

When I went to some website sometimes the text appeared all stupid and with very strange characters, I tried to change the text encoding to all the possibilities, but nothing.
I made some debugging and found out that in the source code the text appeared correctly and when I copied and pasted the strange text to any editor it appeared correctly as well so it got to be a Safari issue.
Yesterday, the non-beta version of Safari 4 came out ( with the classic tabs again, I really prefer them! ) and I had hopes that they've had fixed the issue but... they haven't.

So what? If Apple didn't fix the issue, it had to be a problem of my own and not a general problem.
I made some search and finally found something that turned out to be useful, here's what to do:

1 - Close Safari 4

2 - Go to Home/Library/Preferences and search for com.apple.Safari.plist

3 - Delete that file

4 - Open Safari 4

Your preferences should have disappeared but now you should see the websites with the strange encoding fine.

It worked for me. Hope it works for you as well!

0 comments: