Dealt with unicode error happening on server but not on the dev machine