on osx set file encoding utf-8