Add source encoding to compiler