write utf-8 by default