Support locale of China and so on.

Goagent在中文界面下的ubuntu运行会报错，所以稍稍改了一下。
Merge pull request #1 from hyln9/patch-1

Support locale of China and so on.