Resource encoder now store unsigned char instead of signed char Former-commit-id: 648dd1d55facd40bc37075291782a54cbbc4811f