Unfortunately, it depends what you mean by "generic command" and what you mean by "replace."
I take you to mean that you wish to reduce Unicode to the most-similar UTF-8, in which case you want to look at iconv.
You may find this guide helpful.
You might instead be wanting to replace such strings with some arbitrary text of your own, in which case you want to look at regex.
You may find this guide helpful.
Edit: If you aren't quite sure what you want, then you likely should start by playing around with (a copy of) the file itself. Once thing you should know (if you don't already) is the printf command. You may find this guide helpful.
cat
, locale and terminal; or may be the literal file contents,hexdump -C
on the input is one way to check that. – mr.spuratic Nov 20 '19 at 10:02