Added check for UTF-8 to make sure postgres creates db