Fix issue1753: TextIOWrapper.write writes utf BOM for every string.
Patch by Erick Tryzelaar, with slight modifications by me.
A
Alexandre Vassalotti committed
a38f73b1bb327ceb1aad3a3001255ab81da91c22
Parent: 52d168a
Patch by Erick Tryzelaar, with slight modifications by me.