Apparent character loss in Windows implementation