fixed encoding issue in master too (issue #40)