Fixed some wierd issues where ' characters became unknown characters on ubuntu.