fixed encoding errors
Merge pull request #1278 from pennij/working_thurs0502

fixed encoding errors