Fixed PlacesUtils.getCharsetForURI, kept the deprecated function for older versions of Firefox.