Add charset in resources compression