[extractor/common] Add the encoding parameter