Changed to OS specific encoding.