Solve degree sign encoding problem between Windows and others