![](http://static.alleged.org.uk/pdc/icon-64x64.png)
Windows Unicode versus Python's Unicode
During an attempt to better organize a collection of T-SQL scripts I came across a strange behaviour when converting Windows ANSI (8-bit character data) to Unicode (16-bit character data) which appears, surprisingly, to involve the ancient MSDOS convention of using Ctrl-Z (character 0x1A) to end files.