# coding: euc_jp
import codecs
f = codecs.open('filename', 'w', 'utf-8')
f.write(u"全ての**は神聖なり!")
f.close()