fix display chinese problem. only support utf-8 now.
ignore .DS_Store files on mac osx.