set character encoding for build