[CMT2][BUG] Add charset in file repository.