Added warning if resource is not using UTF-8 charset