fix encoding problem for CentOS