saltstack/salt — comment on commit e8aee275e982669a338e82245fa46f339c469baf
File:  line 0
By jcollie:

That's the quick way to handle the issue, but what about adding an option to the file state to specify a codec. Personally I'd prefer that the codec default to UTF-8 with a way to override it if needed.