added encoding preferences
added compiler preferences