handle encoding type
trigger the new worker