added encoding option to version read