using decode() -- with 'replace' error mode