fixed encoding issue related to database init script