improve edit-server-done-hook
setup coding system to utf-8