Fix some typos and encoding