change default encoding to system encoding.