modify encoding of custom yasnippet