Report
Earlier Python versions could mishandle UTF-8 data on Windows
A post linking to The Register says even a smart quote could corrupt text or crash a Windows script.
TLDR
A post linking to The Register says earlier Python versions defaulted to the host system's encoding. On Windows, scripts opening UTF-8-encoded datasets could corrupt non-ASCII characters or crash; a smart quote or fancy apostrophe could be enough to cause the problem.
Combined views
515
2 Sources, first seen ago
2 reposts