Changed encoding to unicode from ascii