Add encoding for source file