Added encoding checks to make sure the system is configured correctly