Fixed encoding warnings on Firefox.