How to remove non-UTF8 character from a string in OTIC 21.2

Trying to remove non-UTF char from a string in OTIC. Can you pls help?