Fix typo

Should be "self._char", not "self.char_".
Normalize line endings