make PATTermExtraction can process UTF8 source