def _set_encoding(self):
if self.format_version < <NUM_LIT>:<EOL><INDENT>self._encoding = '<STR_LIT>'<EOL><DEDENT>else:<EOL><INDENT>self._encoding = '<STR_LIT:utf-8>'<EOL><DEDENT>
Set string encoding which depends on file version