apply compiler encoding