Add encoding header to fix the build.